Re: AudioUnitSetRenderNotification() returns badComponentSelector
Re: AudioUnitSetRenderNotification() returns badComponentSelector
- Subject: Re: AudioUnitSetRenderNotification() returns badComponentSelector
- From: William Stewart <email@hidden>
- Date: Thu, 4 Aug 2005 11:48:48 -0700
Right - you should also have got a deprecated warning for trying to
use that function (at least on Tiger).
Bill
On 03/08/2005, at 6:33 PM, email@hidden wrote:
Hi Scott,
AudioUnitSetRenderNotification() appears to be specific to V1 Audio
Units --
see the comment in AUNTComponent.h listing all the APIs and structs
contained in that file as being deprecated.
The alternative AU-V2 call, which seems to have an identical
parameter list, is:
AudioUnitAddRenderNotify()
Best regards,
Peter
> At 12:17 PM 8/3/05, you wrote:
>
> Whenever I attempt to use AudioUnitSetRenderNotification(), the
result code returned is badComponentSelector (-2147450878,
“Component does not support the specified request code.”), and my
callback is never called.
>
> The AUs I have tried this with have been Apple’s Delay, the dev
sample code’s SampleEffect, and Smartelectronix’s Ambience.
>
> I am creating an AUGraph of several nodes (opening, initializing,
and starting), getting the effect AudioUnit for the node I am
interested in render notifications for, and attempting to pass this
AudioUnit to AudioUnitSetRenderNotification(). The graph itself is
functionaing and rendering audio as expected.
>
> Does an AU need to be specially written to support this
function? I was hoping to just tap into any I was interested in.
>
> I'm not finding much of anything for documentation...
>
> Many thanks.
>
> Scott Puhl
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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