Lit Fix and Tones Fix; #127

This commit is contained in:
lwvmobile
2023-06-06 20:32:09 -04:00
parent 585f6f2fa5
commit 9e4ae23c0b
2 changed files with 10 additions and 8 deletions

View File

@@ -200,6 +200,7 @@ void beeper (dsd_opts * opts, dsd_state * state, int type)
if (opts->pulse_digi_rate_out == 8000) strncpy(wav_name, "/usr/share/tone8.wav", 1023);
if (opts->pulse_digi_rate_out == 48000) strncpy(wav_name, "/usr/share/tone48.wav", 1023);
if (opts->pulse_digi_rate_out == 24000) strncpy(wav_name, "/usr/share/tone24.wav", 1023);
if (opts->audio_out_type == 5) strncpy(wav_name, "/usr/share/tone24.wav", 1023);
wav_name[1023] = '\0';
struct stat stat_buf;
if (stat(wav_name, &stat_buf) == 0)