音频

_audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:nil];
        [_audioPlayer setDelegate:self];
        [_audioPlayer prepareToPlay];

 

posted @ 2015-06-15 16:37  从良少年  阅读(123)  评论(0编辑  收藏  举报