mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-09 18:25:00 -04:00
Change audio sampling rates on NBFM, AM modes.
This commit is contained in:
parent
0e436ded14
commit
db642cac8d
5 changed files with 32 additions and 15 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue