Re: node type change results in no output with multichannel
Re: node type change results in no output with multichannel
- Subject: Re: node type change results in no output with multichannel
- From: William Stewart <email@hidden>
- Date: Mon, 23 Jan 2006 10:53:49 -0800
I think its better to the format setting in one hit:
Get the number of channels and sample rate that you want to use, then
use the SetFormat call. We recently found a situation with some AUs
where the sample rate property would *not* work as expected (the new
sample rate is not propogated).
I don't undestand what this is:
err = AudioUnitSetProperty (theFileAU,
kAudioUnitProperty_AudioChannelLayout,
kAudioUnitScope_Input, 0, layout, layoutSize);
XThrowIfError (err, "kAudioUnitProperty_AudioChannelLayout");
There is no input scope on the file AU, so this will produce an error.
Bill
On 22/01/2006, at 10:04 PM, Michael Hanna wrote:
made an AUGraph as such: output -- varispeed -- fileplayer
and simply changed
// varispeed AU node
AUNode timepitchNode;
cd.componentType = kAudioUnitType_FormatConverter;
cd.componentSubType = kAudioUnitSubType_Varispeed;
to:
// varispeed AU node
AUNode timepitchNode;
cd.componentType = kAudioUnitType_FormatConverter;
cd.componentSubType = kAudioUnitSubType_TimePitch;
(and renamed the corresponding variables)
and it seems that multichannel audio does not give output anymore
(mono and stereo work fine).
the entire code section can be found at:
http://rafb.net/paste/results/vBRN1u55.html
Michael
_______________________________________________
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