kstenerud / ObjectAL-for-iPhone

Mac and iOS Audio development, minus the headache. ObjectAL is the easy Objective-C interface to OpenAL, AVAudioPlayer, and audio session management.
http://kstenerud.github.com/ObjectAL-for-iPhone
885 stars 171 forks source link

Update OALAudioTrack.m #63

Closed ghost closed 10 years ago

ghost commented 10 years ago

Changed because it caused a crash in Apportable. Worked fine under iOS.

Explanation: Apple's docs say that we can access 'error' parameter only if the value returned by [AVAudioPlayer initWithContentsOfURL:error:] is nil.

kstenerud commented 10 years ago

Cool thanks!