• 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: Capturing AU output to file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capturing AU output to file


  • Subject: Re: Capturing AU output to file
  • From: Doug Wyatt <email@hidden>
  • Date: Fri, 10 Apr 2009 14:40:29 -0700


On Apr 10, 2009, at 14:34 , Jeff Evans wrote:

Thanks, Doug - though as you say, AudioUnitGetProperty is used to fill in the ASBD based on the characteristics of the synth, which is the DLS synth. Then that ASBD is applied to the external file using ExtAudioFileSetProperty. The sample code doesn't include any other way of setting the output format, aside from specifying the type (WAVE, AIFF, CAF, etc.). I don't see why this sample code would work, given what you say below. Actually I have no proof that the sample code does work, I suppose.

In any event I've tried specifying CAF file output too, but ExtAudioFileCreateNew still fails with the unsupported format error with the ASBD filled out as per the sample code. Is the sample code missing some way to set up a separate ASBD for the output file?

Sorry, I have no idea of what sample code you are looking at or where to find it. I do, however, have a copy of CAAudioUnitOutputCapturer.h in front of me. What is the audio data format being passed to the constructor? If you get an error even when specifying CAF, then most likely the data format is not correctly filled out.


Doug

_______________________________________________
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: Capturing AU output to file
      • From: Doug Wyatt <email@hidden>
References: 
 >Capturing AU output to file (From: Jeff Evans <email@hidden>)
 >Re: Capturing AU output to file (From: Doug Wyatt <email@hidden>)
 >Re: Capturing AU output to file (From: Jeff Evans <email@hidden>)

  • Prev by Date: Re: Capturing AU output to file
  • Next by Date: Re: Capturing AU output to file
  • Previous by thread: Re: Capturing AU output to file
  • Next by thread: Re: Capturing AU output to file
  • Index(es):
    • Date
    • Thread