Re: Using AudioUnit instead of AudioDevice
Re: Using AudioUnit instead of AudioDevice
- Subject: Re: Using AudioUnit instead of AudioDevice
- From: Bill Stewart <email@hidden>
- Date: Thu, 21 Jun 2001 18:28:22 -0700
on 21/6/01 9:49 AM, email@hidden wrote:
>
Hey guys,
>
>
I have some code that can open an AudioDevice and play sound through it,
>
however, I need the ability to play different sample rates. It seems
>
AudioDevice is more linked to the hardware in what sample rates it
>
supports. So I cannot change the sample rate away form 44.1khz. Does
>
using AudioUnit allow some sort of software SRC that will upsample my data?
>
Is there a sample of code that shows how to use this? The sample I
>
currently have will just crash when I try to use it...
>
>
Thanks,
>
James
>
_______________________________________________
>
coreaudio-api mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
The default output unit will both track the default output as set by the
user AND will also do sample rate conversions from a source sample rate to
the hardware output for you.
There is also a Sample Rate Audio Unit that you can use directly if you
want.
Bill
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Cat: "Leave me alone, I'm trying to nap... Ah, What's that clicking noise?"
__________________________________________________________________________