当我录制音频和播放声音时,请使用以下代码
SystemSoundID soundId NSString *path = [[NSBundle mainBundle] pathForResource:soundName ofType:_ext] AudioServicesCreateSystemSoundID((__bridge CFURLRef)[NSURL fileURLWithPath:path], &soundId) AudioServicesPlaySystemSound(soundId)没有声音会播放,有没有解决这个问题的解决方案?