• 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 Audio - AudioFileStream, CFReadStreamRead and AudioQueue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue


  • Subject: Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue
  • From: William Stewart <email@hidden>
  • Date: Thu, 19 Nov 2009 17:53:37 -0800

On Nov 19, 2009, at 2:29 PM, Alexander Saal wrote:

> Hi Bill,
>
> thanks for the very fast answer.
>
> Ok. If I understand it correctly. Apple forgot this to implement that? Oh my gott. ;-)

I wouldn't say forgot. haven't yet :)

>
> Another question:
> I use AUGraph and AUNode to play files. That means, I create new AUGraph and AUNodes
> and connect them. This works fine so far.
>
> It is possible to play a Internet Radio Stream, like an MP3 stream, with AUGraph and AUNodes?
> How it is possible?

you'd have to get the internet stream decoded to linear pcm, then feed this into a graph through a callback attached to an AU (that is represented by a node).

You can manage this by using AudioQueueOfflineRender
	construct it and feed it from your network
	in the AU's callback, call AQOffline for the data you need for that render cycle..

There is a tech note written to explain how to use the AQ in this manner.

HTH

Bill

>
> If not:
>
> It is possible to play a Internet Radio Stream, like an MP3 stream, over the Core Audio API?
> How it is possible?
>
> Note:
> Sorry for my bad english.
>
>
> Best regards
> Alexander Saal
>
> Am 19.11.2009 um 22:55 schrieb William Stewart:
>
>> At this point you can't. Once you provide the audio data to an AQ object, it goes out pretty much as provided. We're considering addressing this at some point
>>
>> Bill

 _______________________________________________
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: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue
      • From: Alexander Saal <email@hidden>
    • Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue
      • From: Alexander Saal <email@hidden>
References: 
 >Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue (From: Alexander Saal <email@hidden>)
 >Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue (From: William Stewart <email@hidden>)
 >Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue (From: Alexander Saal <email@hidden>)

  • Prev by Date: AudioObjectAddPropertyListener vs. AudioDevicePropertyListenerProc
  • Next by Date: Re: Memory Leak on init graph
  • Previous by thread: Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue
  • Next by thread: Re: Streaming Audio - AudioFileStream, CFReadStreamRead and AudioQueue
  • Index(es):
    • Date
    • Thread