mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
SDRTrunk .mbe File Replay: #298
Mute Audio if enc and no key provided; Tweak Verbose Payload vs No Verbose Payload Output to console; Misc Tweaks;
This commit is contained in:
@@ -75,7 +75,7 @@ void playMbeFiles (dsd_opts * opts, dsd_state * state, int argc, char **argv)
|
||||
sprintf (opts->mbe_in_file, "%s", argv[i]);
|
||||
openMbeInFile (opts, state);
|
||||
mbe_initMbeParms (state->cur_mp, state->prev_mp, state->prev_mp_enhanced);
|
||||
fprintf (stderr, "playing %s\n", opts->mbe_in_file);
|
||||
fprintf (stderr, "\n playing %s\n", opts->mbe_in_file);
|
||||
while (feof (opts->mbe_in_f) == 0)
|
||||
{
|
||||
if (state->mbe_file_type == 0)
|
||||
@@ -150,6 +150,7 @@ void playMbeFiles (dsd_opts * opts, dsd_state * state, int argc, char **argv)
|
||||
cleanupAndExit (opts, state);
|
||||
}
|
||||
}
|
||||
fclose(opts->mbe_in_f); //close file after playing it
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user