From 4ea84301c66c44e1d0784ef91223d8598327da58 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sun, 10 Jan 2016 11:33:44 -0800 Subject: [PATCH] For non-audio modes, don't bother muting audio. It's assumed base class will start with audio muted. --- firmware/baseband/proc_ais.cpp | 2 -- firmware/baseband/proc_ert.cpp | 2 -- firmware/baseband/proc_tpms.cpp | 2 -- firmware/baseband/proc_wideband_spectrum.cpp | 2 -- 4 files changed, 8 deletions(-) diff --git a/firmware/baseband/proc_ais.cpp b/firmware/baseband/proc_ais.cpp index 9caa9bb1..80452dd0 100644 --- a/firmware/baseband/proc_ais.cpp +++ b/firmware/baseband/proc_ais.cpp @@ -45,8 +45,6 @@ void AISProcessor::execute(const buffer_c8_t& buffer) { clock_recovery(mf.get_output()); } } - - mute_audio(); } void AISProcessor::consume_symbol( diff --git a/firmware/baseband/proc_ert.cpp b/firmware/baseband/proc_ert.cpp index 20e9764b..e6ae439c 100644 --- a/firmware/baseband/proc_ert.cpp +++ b/firmware/baseband/proc_ert.cpp @@ -78,8 +78,6 @@ void ERTProcessor::execute(const buffer_c8_t& buffer) { clock_recovery(data); } - - mute_audio(); } void ERTProcessor::consume_symbol( diff --git a/firmware/baseband/proc_tpms.cpp b/firmware/baseband/proc_tpms.cpp index 0906de71..d9b2375a 100644 --- a/firmware/baseband/proc_tpms.cpp +++ b/firmware/baseband/proc_tpms.cpp @@ -66,8 +66,6 @@ void TPMSProcessor::execute(const buffer_c8_t& buffer) { clock_recovery(mf.get_output()); } } - - mute_audio(); } void TPMSProcessor::consume_symbol( diff --git a/firmware/baseband/proc_wideband_spectrum.cpp b/firmware/baseband/proc_wideband_spectrum.cpp index e8b62495..feb29f69 100644 --- a/firmware/baseband/proc_wideband_spectrum.cpp +++ b/firmware/baseband/proc_wideband_spectrum.cpp @@ -61,8 +61,6 @@ void WidebandSpectrum::execute(const buffer_c8_t& buffer) { } else { phase++; } - - mute_audio(); } void WidebandSpectrum::on_message(const Message* const message) {