Skip to content

Don't call start() in demod constructors#2104

Merged
f4exb merged 5 commits intof4exb:masterfrom
srcejon:freq_scanner
May 10, 2024
Merged

Don't call start() in demod constructors#2104
f4exb merged 5 commits intof4exb:masterfrom
srcejon:freq_scanner

Conversation

@srcejon
Copy link
Collaborator

@srcejon srcejon commented May 8, 2024

This patch removes the call to start() in the AM, NFM, WFM, BFM, VOR and SSB demods, to fix #2102

The BFM demod also has additional changes so that the baseband and sink are deleted on stop() to ensure the destructor is called disconnecting the audio sink, and brings the code structure in-line with the other demods.

There are a few changes to the NFM, BFM and SSB demod GUI code to account for the baseband/sink not existing all the time.

Also, there's an unrelated change to the SSB GUI that disables AGC settings when AGC is disabled.

Note that the DSDDemod, M17Demod and FreeDVDemod probably also need the change, but let me know if there's any problems with the patch so far.

@dforsi
Copy link
Contributor

dforsi commented May 9, 2024

This patch removes the call to start() in the AM, NFM, WFM, BFM, VOR and SSB demods, to fix #2101.

typo: this PR is to fix #2102

@f4exb f4exb merged commit 7db3879 into f4exb:master May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with multiple audio demods on different devices

3 participants