Change audio sampling rates on NBFM, AM modes.

This commit is contained in:
Jared Boone 2016-01-29 15:33:01 -08:00
parent 0e436ded14
commit db642cac8d
5 changed files with 32 additions and 15 deletions

View file

@ -62,6 +62,7 @@ void AnalogAudioModel::configure_nbfm() {
2500,
};
shared_memory.baseband_queue.push(message);
clock_manager.set_base_audio_clock_divider(3);
}
void AnalogAudioModel::configure_wfm() {
@ -72,6 +73,7 @@ void AnalogAudioModel::configure_wfm() {
75000,
};
shared_memory.baseband_queue.push(message);
clock_manager.set_base_audio_clock_divider(1);
}
void AnalogAudioModel::configure_am() {
@ -81,4 +83,5 @@ void AnalogAudioModel::configure_am() {
taps_6k0_channel,
};
shared_memory.baseband_queue.push(message);
clock_manager.set_base_audio_clock_divider(6);
}