• 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
setting Audio Unit custom parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting Audio Unit custom parameters


  • Subject: setting Audio Unit custom parameters
  • From: "Asher Vander Heiden" <email@hidden>
  • Date: Tue, 06 Jul 2004 15:33:34 +1000

Hi all,

Thanks to everyone who sent in stuff on the audio file extentions !!!!
My working partner and I have had a similar debate on the subject.
I've decided to create my rendered Audio files with whatever extention was on the original file. That way its up to the user to decided what to do with the resulting messy situation.

Anyway enough of that....

My new question is about setting parameters to an Audio Unit from an extenal source.
I've been working with 'auprocess.cpp' and I would like to know how to set my custom parameters within the 'Audio Unit' from the 'auprocess.cpp'?

At the moment I have a sample rate converter as my 'Audio Unit'. The sample rate converter needs to know what sample rate it will be converting to. I have to be able to tell it this from within the 'auprocess.cpp' (i.e. set my custom parameter (mSampleRate) to something like 44100).

I have an Idea that this maybe the job of the preset file ?!?

I would greatly appreciate it if someone could direct me to a place I can start to find out how to do this. A reference to the documentation would be great or perhaps some sample code.


Thankyou in advance,

Asher Vander Heiden

_________________________________________________________________
Protect your inbox from harmful viruses with new ninemsn Premium. Go to http://ninemsn.com.au/premium/landing.asp?banner=emailtag&referrer=hotmail
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: setting Audio Unit custom parameters
      • From: Marc Poirier <email@hidden>
  • Prev by Date: channel config?
  • Next by Date: Sound energy graphic extraction
  • Previous by thread: Re: channel config?
  • Next by thread: Re: setting Audio Unit custom parameters
  • Index(es):
    • Date
    • Thread