objectal

ObjectAL automatic interruption handling error

a 夏天 提交于 2019-12-12 07:52:58
问题 I've been playing with phone calls while (SpriteKit)game running in order to test interruptions. I am using example from ObjectAL documentation called : "Using the OpenAL Objects and OALAudioTrack". So, I let the library to handle this automatically... [OALAudioSession sharedInstance ]. handleInterruptions = YES And it works but partially. For example, with simple setup with 3 sounds I get next error message : OALAudioSession activateAudioSession]: Could not activate audio session after 2

ObjectAL automatic interruption handling error

最后都变了- 提交于 2019-12-03 13:06:43
I've been playing with phone calls while (SpriteKit)game running in order to test interruptions. I am using example from ObjectAL documentation called : "Using the OpenAL Objects and OALAudioTrack" . So, I let the library to handle this automatically... [OALAudioSession sharedInstance ]. handleInterruptions = YES And it works but partially. For example, with simple setup with 3 sounds I get next error message : OALAudioSession activateAudioSession]: Could not activate audio session after 2 tries: Error Domain=NSOSStatusErrorDomain Code=561015905 "The operation couldn’t be completed. (OSStatus