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
Trying to use an AUConverter with an input callback (Leopard 10.5.8)
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Trying to use an AUConverter with an input callback (Leopard 10.5.8)
Subject
:
Trying to use an AUConverter with an input callback (Leopard 10.5.8)
From: John Sheehy <
email@hidden
>
Date: Mon, 21 Sep 2009 17:00:46 -0700
Hi all,
I've managed to set up the default AUHAL output unit for input, and can record @ whatever h/w sample rate is at without problems. What I need however is to convert the incoming sample rate to 16Khz. Is there any way I can do this transparently, as in connect the default output unit's input bus to an AUConverter, setting the appropriate stream formats on both sides of the converter ?
Ideally, I would have one callback, inside which I'd call AudioUnitRender, and the audio it would render would have already gone through the converter. Is this possible ?
I've tried various combinations of setting render callback with various bus specifications on the input unit and the AUconverter component, but to no avail.
The only examples I've been able to find all end up in an output unit, but as outbound SRC seems to be transparent in Leopard, I haven't needed to worry about that side of things.
I'd really appreciate it if someone could tell me this is definitely possible, and even better point me in the direction of any sample code or tutorial that achieves this..
thanks a lot
John Sheehy. _______________________________________________
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: Trying to use an AUConverter with an input callback (Leopard 10.5.8)
From:
Doug Wyatt <email@hidden>
Prev by Date:
Re: Input buses for multichannel mixer
Next by Date:
Problem Compiling PublicUtility Classes
Previous by thread:
Re: Core Audio Clock help
Next by thread:
Re: Trying to use an AUConverter with an input callback (Leopard 10.5.8)
Index(es):
Date
Thread