Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
May 10, 2024
Merged

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
1 of 3 checks passed
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