Re: MusicDeviceBase mSampleRate
Re: MusicDeviceBase mSampleRate
- Subject: Re: MusicDeviceBase mSampleRate
- From: William Stewart <email@hidden>
- Date: Tue, 3 Oct 2006 14:51:34 -0700
You are probably getting back an error and not looking for it because
most MusicDevice AUs do not have inputs. You should be setting this
property on kAudioUnitScope_Output
Bill
On 03/10/2006, at 2:09 AM, Craig Bakalian wrote:
Hi,
I have noticed that the all (the ones I have observered in debug)
of the MusicDeviceBase AUs get a sample rate of zero when I get the
following property --
AudioUnitGetProperty(synthUnit,
kAudioUnitProperty_StreamFormat,
kAudioUnitScope_Input,
0,
&synthStreamDescription,
&streamsize);
How does this effect a chain of AUs, especially if I am chaining a
format converter between the synthUnit and a AU mixer by getting
the streamFormat of the synth and mixer, and setting the input of
the format converter to the stream format of the synth and setting
the output of the format converter to the mixer unit? Will this
explicitly set the format converter's input to a sample rate of zero?
Craig Bakalian
www.ethinkingcap.com
_______________________________________________
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