Compare commits

..

3 Commits

Author SHA1 Message Date
jLynx d1a2318fe4 Merge pull request #3106 from portapack-mayhem/next
v2.4.0
2026-03-24 22:54:24 +13:00
gullradriel 93775129cb Merge pull request #2896 from portapack-mayhem/next
Christmas stable merge
2025-12-21 12:00:18 +01:00
jLynx fe9448f149 Merge pull request #2859 from portapack-mayhem/next
V2.3.1
2025-11-08 10:35:16 +13:00
3 changed files with 2 additions and 10 deletions
@@ -419,10 +419,10 @@ void AnalogAudioView::on_baseband_bandwidth_changed(uint32_t bandwidth_hz) {
}
void AnalogAudioView::on_modulation_changed(ReceiverModel::Mode modulation) {
waterfall.stop();
baseband::spectrum_streaming_stop();
update_modulation(modulation);
on_show_options_modulation();
waterfall.start();
baseband::spectrum_streaming_start();
}
void AnalogAudioView::remove_options_widget() {
-2
View File
@@ -361,8 +361,6 @@ void WaterfallView::stop() {
baseband::spectrum_streaming_stop();
running_ = false;
}
this->channel_fifo = nullptr;
this->audio_spectrum_data = nullptr;
}
void WaterfallView::show_audio_spectrum_view(const bool show) {
-6
View File
@@ -173,16 +173,12 @@ class WaterfallView : public View {
MessageHandlerRegistration message_handler_channel_spectrum_config{
Message::ID::ChannelSpectrumConfig,
[this](const Message* const p) {
if (!running_)
return;
const auto message = *reinterpret_cast<const ChannelSpectrumConfigMessage*>(p);
this->channel_fifo = message.fifo;
}};
MessageHandlerRegistration message_handler_audio_spectrum{
Message::ID::AudioSpectrum,
[this](const Message* const p) {
if (!running_)
return;
const auto message = *reinterpret_cast<const AudioSpectrumMessage*>(p);
this->audio_spectrum_data = message.data;
this->audio_spectrum_update = true;
@@ -190,8 +186,6 @@ class WaterfallView : public View {
MessageHandlerRegistration message_handler_frame_sync{
Message::ID::DisplayFrameSync,
[this](const Message* const) {
if (!running_)
return;
if (this->channel_fifo) {
ChannelSpectrum channel_spectrum;
while (channel_fifo->out(channel_spectrum)) {