• 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: Streaming to AudioQueue without having random access to data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Streaming to AudioQueue without having random access to data?


  • Subject: Re: Streaming to AudioQueue without having random access to data?
  • From: William Stewart <email@hidden>
  • Date: Thu, 14 Feb 2008 11:57:27 -0800

We did a presentation of using AudioFileStream and AudioQueue at last year's WWDC if you have those slides (the code was also on the WWDC disks). I think that sample code can still be downloaded from the ADR web site (look for AudioFileStream) or as a tech note

If you can't find it, let me know and I"ll see what I can track down


On Feb 14, 2008, at 11:14 AM, Jens Alfke wrote:

I hate it when I find a (potential?) answer to a question right after I ask it... :-/

I grepped "AudioStreamPacketDescription" in the AudioToolbox headers, and found AudioFileStream.h, a header I had never noticed before. This looks like what I want — I feed it bytes in sequence, as read from a socket, and it calls me back with packet descriptions.

It looks like I'll need to do some buffering of my own, since I can't control when the data arrives on the socket or when the AudioQueue asks me for data. Does anyone have advice on how to do this, or (even better) sample code?

—Jens _______________________________________________
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

_______________________________________________ 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: 
 >Streaming to AudioQueue without having random access to data? (From: Jens Alfke <email@hidden>)
 >Re: Streaming to AudioQueue without having random access to data? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: AudioFile data format falsely indicating VBR on CBR files
  • Next by Date: Re: Multichannel AU bus names
  • Previous by thread: Re: Streaming to AudioQueue without having random access to data?
  • Next by thread: NSSound thread priority
  • Index(es):
    • Date
    • Thread