• 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
Audio Queue Services
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Audio Queue Services


  • Subject: Audio Queue Services
  • From: David Collins <email@hidden>
  • Date: Tue, 10 Feb 2009 16:03:27 -0600

I have a few questions concerning Audio Queue Services. I am using an AudioQueue to convert compressed audio(aac) in memory to lpcm in memory. Basically I do the following steps:
(1). Call AudioQueueNewOutput using the compressed source AudioStreamBasicDescription.
(2). I allocate an input buffer from the AudioQueue of sufficient size.
(3). Set the offline render format.
(4). I start the queue if not already started.
(5). I expected AudioQueues to automatically call my callback but it doesn't. (WHY?)
(6). I allocate an Audio buffer and manually call the handler.
(7). I copy the compressed data to the buffer.
(8). I enqueue the buffer with an AudioStreamPacketDescription.
(9). Then I call AudioQueueOfflineRender and get an error code of -66626. I can't seem to find any reference to that particular code. Its not listed in the header file, AudioQueue.h. Does anyone know what it is?


Are the above steps correct for what I am trying to do? (convert compressed audio in memory to lpcm).

I can't seem to find any examples for what I am trying to do.

Thanks,
David Collins
_______________________________________________
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: Audio Queue Services
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Render Buffer Sizes Usually Consistent?
  • Next by Date: Plugin delay compensation
  • Previous by thread: Re: Render Buffer Sizes Usually Consistent?
  • Next by thread: Re: Audio Queue Services
  • Index(es):
    • Date
    • Thread