Use audio file from settings instead of default alert sound

This commit is contained in:
Dan Paulat 2023-12-02 23:28:15 -06:00
parent 2345855a97
commit c5b2eb8ebf

View file

@ -142,7 +142,7 @@ void AlertManager::Impl::HandleAlert(const types::TextEventKey& key,
awips::PVtec::GetActionCode(vtec.pVtec_.action()),
vtec.pVtec_.event_tracking_number());
mediaManager_->Play(types::AudioFile::EasAttentionSignal);
mediaManager_->Play(audioSettings.alert_sound_file().GetValue());
}
}
}