我有一个视频记录的视图,然后我有一个AVAudioPlayer,问题是当声音,你停止registazione Video。
testAudioPlayer = [[AVAudioPlayer alloc] initWithData:sampleData error:&audioError];
[sampleData release];
if(audioError != nil) {
NSLog(@"An audio error occurred: \"%@\"", audioError);
}
else {
[testAudioPlayer setVolume:100];
[testAudioPlayer setNumberOfLoops: -1];
[testAudioPlayer play];``
提前致谢