• 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: extAudioFileCreateURL and ExtAudioFileWrite problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extAudioFileCreateURL and ExtAudioFileWrite problem


  • Subject: Re: extAudioFileCreateURL and ExtAudioFileWrite problem
  • From: Howard Moon <email@hidden>
  • Date: Tue, 16 Jun 2009 10:50:24 -0700

If you don't already have a ComponentInstance in hand, I think the call GetComponentInstance() will get it for you.

-Howard



On Jun 16, 2009, at 10:30 AM, Tony Sheng wrote:
Hi Bill and all: 

Thanks. The sample code did seem is what I want. I included that .h file into my project.

But when I trying to call the function from that file, I am confused by the first parameters the function needs to take in:

CAAudioUnitOutputCapturer(AudioUnit au, CFURLRef outputFileURL, AudioFileTypeID fileType, const AudioStreamBasicDescription &format, UInt32 busNumber = 0)

I am not sure here 'AudioUnit au' really is and when I jump to its definition it defines as :
 typedef ComponentInstance AudioUnit;// An audio unit is of type ComponentInstance, defined by the Component Manager.

I tried to put my audio unit name for this parameter but it doesn't work cannot go through the complier. 

Can you help me with this? 

Many thanks 

Tony 

 _______________________________________________
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: 
 >extAudioFileCreateURL and ExtAudioFileWrite problem (From: Tony Sheng <email@hidden>)
 >Re: extAudioFileCreateURL and ExtAudioFileWrite problem (From: William Stewart <email@hidden>)
 >Re: extAudioFileCreateURL and ExtAudioFileWrite problem (From: Tony Sheng <email@hidden>)

  • Prev by Date: Re: AU automation gestures/scroll wheel events
  • Next by Date: Is this an AULab bug?
  • Previous by thread: Re: extAudioFileCreateURL and ExtAudioFileWrite problem
  • Next by thread: XServe RAID Card disable MOTU Audio Device Configuration?
  • Index(es):
    • Date
    • Thread