• 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
How to use CAAudioUnitOutputCapturer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use CAAudioUnitOutputCapturer


  • Subject: How to use CAAudioUnitOutputCapturer
  • From: Orpheus <email@hidden>
  • Date: Thu, 10 May 2012 12:30:38 -0400

Hello all,
This is my first post and it's a question regarding CAAudioUnitOutputCapturer. 

I'd like to capture the output of a remoteIO unit in of an AuGraph in my iOS app. I'm trying to use theCAAudioUnitOutputCapturer class but I can't get it to work. Following the code snippet Apple provides gives me error messages.

For example if I write the code below which conforms to the example snippet found in CAAudioUnitOutputCapturer.h:


CAAudioUnitOutputCapturer captor(iOUnit, fileurl, 'wave', destinationASBD);

...then Xcode tells me that it expects a ";" after "CAAudioUnitOutputCapturer".

I've also found examples of this format:


captor = new CAAudioUnitOutputCapturer(iOUnit, fileURL, 'wave', destinationASBD);

...but Xcode tells me that I'm using undeclared identifiers of 'new' and 'captor'.

Does anyone know what I should do? Any tips or hints would be greatly appreciated. 


 _______________________________________________
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: How to use CAAudioUnitOutputCapturer
      • From: Kevin Dixon <email@hidden>
  • Prev by Date: Re: multi input mixer volume control on iOS
  • Next by Date: ExtAudioFile skipping frames at end of certain M4A files
  • Previous by thread: Re: multi input mixer volume control on iOS
  • Next by thread: Re: How to use CAAudioUnitOutputCapturer
  • Index(es):
    • Date
    • Thread