Add stereo re-sampler

This commit is contained in:
Charles J. Cliffe
2014-12-26 21:55:13 -05:00
parent 0fc47bc916
commit 44602303a7
7 changed files with 26 additions and 7 deletions
+1
View File
@@ -59,6 +59,7 @@ void DemodulatorWorkerThread::threadMain() {
result.fir_filter = firfilt_crcf_create(h, h_len);
result.resampler = msresamp_crcf_create(result.resample_ratio, As);
result.audio_resampler = msresamp_rrrf_create(result.audio_resample_ratio, As);
result.stereo_resampler = msresamp_rrrf_create(result.audio_resample_ratio, As);
result.audioSampleRate = filterCommand.audioSampleRate;
result.bandwidth = filterCommand.bandwidth;