Re: AUGraph, multiChannelMixer inputs
Re: AUGraph, multiChannelMixer inputs
- Subject: Re: AUGraph, multiChannelMixer inputs
- From: William Stewart <email@hidden>
- Date: Thu, 2 Jul 2009 20:28:47 -0700
you need to set this before you have the mixer initialised - are you
sure the callback here gets called?
On Jun 30, 2009, at 10:27 PM, email@hidden wrote:
thanks for your prompt reply..
does this look correct
int channelCount = 9;
err = AudioUnitSetProperty(mixer, kAudioUnitProperty_ElementCount,
kAudioUnitScope_Input, 0, &channelCount, sizeof(channelCount));
NSAssert(err == noErr, @"Error setting property channel count");
when i use this code, i can add a ninth node to my mixer inputs. i
get the callback with inBusNumber == 8, which would be the ninth
channel. however when i fill its buffer it doesnt get added to the
mix. am i missing something else?
On 30/06/2009 7:16am, james mccartney <email@hidden> wrote:
>
>
> Getting the value of kAudioUnitProperty_ElementCount tells you how
many elements you have in a scope. This happens to be 8 for this
mixer.
> If you want to increase it, you need to set this property.
>
> On Jun 28, 2009, at 4:01 PM, email@hidden wrote:
>
> I came across an interesting error this morning. I have a multi
channel mixer with 8 inputs and want to add a 9th. I got a graph
initialization failure when i did.
> is there a maximum number of inputs allowed, or does the amount of
connections have to be a power of two. What are the limitiations?
_______________________________________________
> 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
>
>
> _______________________________________________
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
_______________________________________________
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