mirror of
https://git.code.sf.net/p/fldigi/fldigi
synced 2026-08-13 17:47:54 -04:00
audio alert
* fix seg fault
- test for existence of audio_alert instance
This commit is contained in:
parent
e9a2ef2dd0
commit
797f243828
1 changed files with 2 additions and 0 deletions
|
|
@ -220,6 +220,8 @@ void center_rxfilt_at_track()
|
|||
|
||||
void reset_audio_alerts()
|
||||
{
|
||||
if (!audio_alert) return;
|
||||
|
||||
if (progdefaults.enable_audio_alerts && audio_alert) {
|
||||
if (audio_alert->open())
|
||||
LOG_INFO("Opened audio alert stream on %s", progdefaults.AlertDevice.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue