2010-08-11, 01:20
Thanks for the correction, I did indeed mean SDL Mixer
Yes, spiff is correct here too, however we will try to match the audio devices output sample rate as best we can to the input, but when mixing gets involved, all bets are off.
Here is how the sample rate selection will work (this is not done yet), if there is no streams running, and a GUI sound tries to play, we open at a default rate of 44.1khz
When a stream starts, if is the only one, and the sample rate does not match the currently configured one, AE will re-open the audio output at the correct sample rate to match.
When another stream starts, it is not the only one, so it just gets mixed in to whatever is already open. This will only occur in the paplayer for gapless and cross-fade reasons.
If however passthrough is in use, all streams are re-sampled to 48khz, and encoded after mixing to AC3
Yes, spiff is correct here too, however we will try to match the audio devices output sample rate as best we can to the input, but when mixing gets involved, all bets are off.
Here is how the sample rate selection will work (this is not done yet), if there is no streams running, and a GUI sound tries to play, we open at a default rate of 44.1khz
When a stream starts, if is the only one, and the sample rate does not match the currently configured one, AE will re-open the audio output at the correct sample rate to match.
When another stream starts, it is not the only one, so it just gets mixed in to whatever is already open. This will only occur in the paplayer for gapless and cross-fade reasons.
If however passthrough is in use, all streams are re-sampled to 48khz, and encoded after mixing to AC3