• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running! (From: "Andrew E. Davidson" <email@hidden>)
 >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>)
 >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>)
 >RE: trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running! (From: "Andrew E. Davidson" <email@hidden>)

  • Prev by Date: Re: ID3 tag for AIFF files
  • Next by Date: How to make my AU graph the default output?
  • Previous by thread: RE: trouble with AudioQueuOfflineRender() after a while my queue callback function no longer gets invoked even thou queue is still running!
  • Next by thread: Example of using ExtAudioFileOpenURL() to read IMA4 compressed caff on iPhone
  • Index(es):
    • Date
    • Thread