gqrx-sdr / gqrx

Software defined radio receiver powered by GNU Radio and Qt.
http://gqrx.dk
GNU General Public License v3.0
3.11k stars 545 forks source link

Warn on audio device failure rather than abort. #1357

Open willcode opened 5 months ago

willcode commented 5 months ago

In some cases, being able to hear the signal is not important, and a system has no usable audio device. This patch removes the error dialog and exit when no device is found. Instead, "NO AUDIO" is added to the title. Note that the PortAudio case may still need some work. Only PulseAudio has been tested.

This is an old patch I had lying around, and I haven't tried it recently on a device without audio. But is still applies cleanly and compiles :-)

Fixes #1356