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

Re: AudioQueueProcessingTap...


  • Subject: Re: AudioQueueProcessingTap...
  • From: Chris Adamson <email@hidden>
  • Date: Wed, 15 Jan 2014 11:15:48 -0500

On Jan 15, 2014, at 10:34 AM, Ron Burgundy <email@hidden> wrote:

At VERY least if someone could just provide some example code of using AudioQueueProcessingTap in an audio queue it would be highly appreciated.

I thought Apple had official AQ Tap sample code out now? I don't see it in Xcode's doc viewer… maybe a WWDC 2013 thing?

Anyways, in late 2012, I wrote an AQ Tap demo to run AQ data through an arbitrary AUGraph. Long story short: it applies effects to web radio. Examples include AUReverb2 and AUNewTimePitch (which is technically inappropriate because it's a converter, not an effect).

* Corrected (for iOS 6.1, anyways) code in this blog: http://www.subfurther.com/blog/2013/02/23/correcting-core-audio/
* Discussion of how it works (with bad code that you should not use) in this blog: http://www.subfurther.com/blog/2012/10/30/cocoaconf-portland-12-and-the-audioqueueprocessingtap/

My code is kind of bats**t crazy. Still, hope this helps.

--Chris

P.S. Also, I'm not sure if the URL in the sample code still works. http://shoutcast.cbcradio3.com/ is gone, but http://1661.live.streamtheworld.com:80/CBC_R3_WEB_SC should work instead. The code also works with AAC streams (I test with http://armitunes.com:8010/ ), but you have to change the hint for AudioFileStreamOpen() to kAudioFileAAC_ADTSType (if I were rigorous, I would have parsed the URL response to figure out whether I was getting MP3 or AAC, instead of hard-coding it).
 _______________________________________________
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: AudioQueueProcessingTap...
      • From: Ron Burgundy <email@hidden>
References: 
 >AudioQueueProcessingTap... (From: Ron Burgundy <email@hidden>)

  • Prev by Date: AudioQueueProcessingTap...
  • Next by Date: Re: Delay in volume change using keyboard
  • Previous by thread: AudioQueueProcessingTap...
  • Next by thread: Re: AudioQueueProcessingTap...
  • Index(es):
    • Date
    • Thread