mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-19 11:32:38 -05:00
Change NBFM audio fs->24k, AM ->12k.
Send channel decimation factor from application to baseband.
This commit is contained in:
parent
65d224be14
commit
aead1d8798
6 changed files with 18 additions and 14 deletions
|
|
@ -62,12 +62,13 @@ void AnalogAudioModel::configure_nbfm() {
|
|||
taps_4k25_decim_0,
|
||||
taps_4k25_decim_1,
|
||||
taps_4k25_channel,
|
||||
2,
|
||||
2500,
|
||||
audio_16k_hpf_300hz_config,
|
||||
audio_16k_deemph_300_6_config
|
||||
audio_24k_hpf_300hz_config,
|
||||
audio_24k_deemph_300_6_config
|
||||
};
|
||||
shared_memory.baseband_queue.push(message);
|
||||
clock_manager.set_base_audio_clock_divider(3);
|
||||
clock_manager.set_base_audio_clock_divider(2);
|
||||
}
|
||||
|
||||
void AnalogAudioModel::configure_wfm() {
|
||||
|
|
@ -88,8 +89,9 @@ void AnalogAudioModel::configure_am() {
|
|||
taps_6k0_decim_0,
|
||||
taps_6k0_decim_1,
|
||||
taps_6k0_channel,
|
||||
audio_8k_hpf_300hz_config
|
||||
4,
|
||||
audio_12k_hpf_300hz_config
|
||||
};
|
||||
shared_memory.baseband_queue.push(message);
|
||||
clock_manager.set_base_audio_clock_divider(6);
|
||||
clock_manager.set_base_audio_clock_divider(4);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue