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: Sat, 23 Jun 2001 13:25:43 -0700
AudioUnitSetRenderNotification(myDefaultAU, NULL, NULL);
(This is fixed - but you need to do it with the current release)
Bill
on 22/6/01 6:11 PM, Doug Wyatt wrote:
>
On Thursday, June 21, 2001, at 12:49 PM, email@hidden
>
wrote:
>
> 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...
>
>
>
>
I take it you're using the default output audio unit.
>
>
There's a known bug where you have to explicitly set either the input
>
proc or the render notify proc of the unit to NULL; I forget which ...
>
>
Doug
>
_____________________
>
Doug Wyatt
>
Core Audio
>
Apple
>
408.974.9314
>
_______________________________________________
>
coreaudio-api mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Cat: "Leave me alone, I'm trying to nap... Ah, What's that clicking noise?"
__________________________________________________________________________