kAudioUnitType_FormatConverter and locking the iPhone
kAudioUnitType_FormatConverter and locking the iPhone
- Subject: kAudioUnitType_FormatConverter and locking the iPhone
- From: Evan Olcott <email@hidden>
- Date: Fri, 24 Apr 2009 09:08:08 -0500
I've noticed a strange artifact when using the
kAudioUnitType_FormatConverter/kAudioUnitSubType_AUConverter in iPhone
OS 2.2.1.
I have an application that runs as kAudioSessionCategory_LiveAudio. If
the phone becomes locked by the user (by pressing the button at the
top), the kAudioUnitSubType_AUConverter will not render from it's
connections, but will instead continue to play it's last given buffer
in a loop. To the user, it seems as though the phone becomes "stuck".
The render messages to it's connected inputs (or render callbacks)
seem to stop altogether, but audio continues to play, albeit from this
stuck buffer.
Is this a bug or expected behavior for this category? Is there a
workaround (apps don't get messages for when the iPhone becomes
locked, so there's no real way for the application to respond to a
"locked" change like the kAudioUnitSubType_AUConverter seems to).
Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering
http://www.audiofile-engineering.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden