Re: increase the number of input busses (stereoMixer)
Re: increase the number of input busses (stereoMixer)
- Subject: Re: increase the number of input busses (stereoMixer)
- From: work <email@hidden>
- Date: Sun, 04 Jan 2009 23:57:20 +1100
You should allocate the max number of inputs you think you'll use,
then you can just connect (or disconnect) to the inputs as you use
them. You can't change the number of inputs without re-initialising
the mixer, and that can cause discontinuities in the audio as you have
to take it out of the signal chain to do this
With different file players, you are probably also dealing with files
of different sample rates - you want to minimise the number of sample
rate conversions you are doing, so you probably want to provide a
mixer for each unique sample rate, and then resample to the playback
rate.
Bill
On Dec 24, 2008, at 11:26 PM, MF wrote:
Hello List,
I am writing a sample-based sequencer. The app is initiated with 64
short audio clips ( around 5 to 10 seconds of each) loaded into the
buffer. Currently I use a stereo mixer to host the input from Audio
units (AudioFilePlayers). However, the default number of the mixer's
input buses is not enough for the app. Can I dynamically increase
the input number of a mixer? or shall I simply use multiple mixers
to serve the huge amount of the audio inputs? Any suggestion would
be appreciated!!
Thanks!
MF
_______________________________________________
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