音频

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

 

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