working on variable channel count support (to allow preloading mono samples
in half memory, and to avoid redundant resampling in mono files)
This commit is contained in:
@@ -14,6 +14,7 @@ void RageSoundReader_Resample_Fast::Open(SoundReader *source_)
|
||||
|
||||
samplerate = source->GetSampleRate();
|
||||
resamp.SetInputSampleRate(samplerate);
|
||||
resamp.SetChannels( source->GetNumChannels() );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user