mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-16 18:57:24 -05:00
DMR: Add 16-bit Anytone BP Support; #303
Reset static_ks_counter as various places in code; Remove the static_ks_counter reset from KWD SCR link control and tweak SO bits; Fix Forced KS application to work in both slots; Allow Static Wav File or Per Call Wav File in SDRTrunk MBE format playback; #298 Same as above for .amb, .dmb, and .imb format playback; Update Usage and Docs;
This commit is contained in:
@@ -1008,9 +1008,14 @@ uint16_t ambe2_str_to_decode(dsd_opts * opts, dsd_state * state, char * ambe_str
|
||||
if (opts->floating_point == 0)
|
||||
processAudio(opts, state);
|
||||
|
||||
if (opts->wav_out_f != NULL)
|
||||
//per call wav files
|
||||
if (opts->wav_out_f != NULL && opts->dmr_stereo_wav == 1)
|
||||
writeSynthesizedVoice (opts, state);
|
||||
|
||||
//NOTE: Static Wav file is handled inside of playSynthesizedVoiceMS,
|
||||
//but if using -o null to mute audio, then the static file will not contain audio
|
||||
//TODO: Fix above to allow audio in wav even if not put out to speakers?
|
||||
|
||||
if (opts->audio_out == 1 && opts->floating_point == 0)
|
||||
playSynthesizedVoiceMS (opts, state);
|
||||
|
||||
@@ -1114,9 +1119,14 @@ uint16_t imbe_str_to_decode(dsd_opts * opts, dsd_state * state, char * imbe_str,
|
||||
if (opts->floating_point == 0)
|
||||
processAudio(opts, state);
|
||||
|
||||
if (opts->wav_out_f != NULL)
|
||||
//per call wav files
|
||||
if (opts->wav_out_f != NULL && opts->dmr_stereo_wav == 1)
|
||||
writeSynthesizedVoice (opts, state);
|
||||
|
||||
//NOTE: Static Wav file is handled inside of playSynthesizedVoiceMS,
|
||||
//but if using -o null to mute audio, then the static file will not contain audio
|
||||
//TODO: Fix above to allow audio in wav even if not put out to speakers?
|
||||
|
||||
if (opts->audio_out == 1 && opts->floating_point == 0)
|
||||
playSynthesizedVoiceMS (opts, state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user