这是一个创建于 3731 天前的主题,其中的信息可能已经有所发展或是发生改变。
如题
///code
NSError *audioSessionError = nil;
AVAudioSession *audioSession = [AVAudioSession sharedInstance];
if ([audioSession setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:&audioSessionError]){
NSLog(@"Set the audio session successful");
2 条回复 • 2014-07-20 16:32:29 +08:00
|
|
1
parkman 2014-07-19 21:11:29 +08:00
大虾在吗
|
|
|
2
parkman 2014-07-20 16:32:29 +08:00
已经结贴。
f ([audioSession setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionDuckOthers error:&audioSessionError])
|