Skip to content

Fix inaccessible audio device crash #1105

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vladisslav2011
Copy link
Contributor

Throw an exception form pa_sink::pa_sink
Better exceptions handling in receiver::set_output_device
Set conf_ok to false in MainWindow::loadConfig if
rx->set_output_device fails.

Test results:
Linux, Gr-audio - PASSED
Linux, Pulseaudio - PASSED
Linux, Portaudio - PASSED

Portaudio backend does not trigger the crash in case of bad device name. It just selects default audio device in that case...
Close #1102

Throw an exception form pa_sink::pa_sink
Better exceptions handling in receiver::set_output_device
Set conf_ok to false in MainWindow::loadConfig if
rx->set_output_device fails.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gqrx-2.15.8 crash when previously used audio device is not available
2 participants