ObjectAL on iOS 7

225 views
Skip to first unread message

Lukas

unread,
Sep 18, 2013, 11:52:38 AM9/18/13
to objectal-...@googlegroups.com
Hi,

I've been using ObjectAL 2.2 for a while on iOS 6 without any problems BUT in iOS 7, I get this:

OAL Error: +[ALWrapper createContext:attributes:]: Invalid Value (error code 0x0000a004)
OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.000820 seconds ago. Doing nothing.
OAL Error: +[ALWrapper genSources:numSources:]: Invalid Operation (error code 0x0000a004)
OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.001542 seconds ago. Doing nothing.
OAL Error: +[ALWrapper getSourcef:parameter:]: Invalid Value (error code 0x0000a003)
OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification, but last reset was 0.002222 seconds ago. Doing nothing.

What can be done to fix the problems?

Rafał Wesołowski

unread,
Nov 26, 2013, 9:00:48 AM11/26/13
to objectal-...@googlegroups.com

Hi,

I'm experiencing a little bit different behaviour when using this library on iOS 7.X. Everything seems to work on iOS 6.X but when it comes to iOS 7.X I get "Invalid Operation" while playing sounds one after another. After each AL_BUFFERS_PROCESSED I'm playing next sound in queue. Error which I get indicates that deallocated buffer is still in use. Is there any other way to have reliable information about finished playback?

OAL Error: +[ALWrapper deleteBuffers:numBuffers:]: Invalid Operation (error code 0x0000a004)
OAL Warning: -[OALAudioSession onAudioError:]: Received audio error notification. Resetting audio session.

Reply all
Reply to author
Forward
0 new messages