Re: trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running!
Re: trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running!
- Subject: Re: trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running!
- From: Hamish Allan <email@hidden>
- Date: Thu, 26 Mar 2009 21:57:03 +0000
On Thu, Mar 26, 2009 at 9:19 PM, Andrew E. Davidson
<email@hidden> wrote:
> I can not figure out why I observe the following
> 1) the song plays through correctly exactly once.
> 2) from this point I get silence
In the code you posted to the dev forums:
if (numPackets > 0) {
...
} else {
if ( looping ) {
player.startingPacketNumber = 0;
AudioQueueConverterPlaybackCallback( ... )
} else {
stop
}
}
before you make the recursive call, you also need to set numBytes and
numPackets to non-zero values.
Hope this helps,
Hamish
_______________________________________________
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