Re: kAudioUnitType_FormatConverter and locking the iPhone
Re: kAudioUnitType_FormatConverter and locking the iPhone
- Subject: Re: kAudioUnitType_FormatConverter and locking the iPhone
- From: Doug Wyatt <email@hidden>
- Date: Fri, 24 Apr 2009 07:35:36 -0700
On Apr 24, 2009, at 7:08 AM, Evan Olcott wrote:
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).
That AU doesn't know anything about the lock switch either. What
you're describing sounds like a bug somewhere else, whether in the OS
or your app I don't know...
Doug
_______________________________________________
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