• 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: Error -66626
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error -66626


  • Subject: Re: Error -66626
  • From: dct <email@hidden>
  • Date: Fri, 22 May 2009 11:47:08 -0700

Doug, thank for the reply.

I don't think that's it; I do call AudioQueueSetOfflineRenderFormat.

My sequence of Core Audio function calls goes as follows:

- AudioFileStreamOpen(self, propertyCallback, packetCallback, hint, &parserID);

  - err = AudioFileStreamParseBytes(parserID, inBufSize, inBuffer,
                kAudioFileStreamParseFlag_Discontinuity );

  (in propertyCallback)

   - err = AudioFileStreamGetProperty( inAudioFileStream,
                kAudioFileStreamProperty_DataFormat, &asbdSize, &asbd);

  - err = AudioQueueNewOutput(&asbd, audioQueueCallback, inBuffer,
					        NULL, NULL, 0, &queue);

  - AudioQueueAllocateBuffer( queue, nn, &queueBuffer );

  -AudioQueueSetOfflineRenderFormat( queue, &asbd, &chLayout );

  (in propertyCallback)

- err = AudioQueueOfflineRender( dcdrData->queue, &ts, outBuffer, asbd.mFramesPerPacket );
( ts is a time stamp with ts.mSampleTime=0 & ts.mHostTime = sys clock time)


Here I get err = -66626 and outBuffer seems to contain only 0s.


On May 21, 2009, at 6:24 PM, Doug Wyatt wrote:

  Maybe you didn't call AudioQueueSetOfflineRenderFormat first?
_______________________________________________
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


  • Follow-Ups:
    • Re: Error -66626
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: Retrieving stream title from playlist
  • Next by Date: AAC-LC allowable SR/BR
  • Previous by thread: Re: Error -66626
  • Next by thread: Re: Error -66626
  • Index(es):
    • Date
    • Thread