mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-15 02:07:24 -05:00
EDACS Tweaks to Analog Call Handling;
This commit is contained in:
@@ -387,7 +387,9 @@ void print_menuc(WINDOW *menu_win, int highlight)
|
||||
|
||||
void ncursesOpen (dsd_opts * opts, dsd_state * state)
|
||||
{
|
||||
UNUSED2(opts, state);
|
||||
//this is primarily used to push a quick audio blip through OSS so it will show up in the mixer immediately
|
||||
if (opts->audio_out_type == 2 || opts->audio_out_type == 5)
|
||||
beeper (opts, state, 0);
|
||||
|
||||
// state->menuopen = 1; //flag the menu is open, stop processing getFrameSync
|
||||
mbe_printVersion (versionstr);
|
||||
@@ -2308,6 +2310,12 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
||||
printw (" \n");
|
||||
}
|
||||
|
||||
if (opts->audio_out_type == 0 && opts->frame_provoice == 1)
|
||||
{
|
||||
printw ("| Pulse Audio Output: %i kHz; %i Ch; RMS: %04d Analog", opts->pulse_raw_rate_out/1000, opts->pulse_raw_out_channels, opts->rtl_rms);
|
||||
printw (" \n");
|
||||
}
|
||||
|
||||
if (opts->audio_out_type == 5 || opts->audio_out_type == 2)
|
||||
{
|
||||
printw ("| OSS Audio Output: %i kHz; %i Ch; G: %02.0f%%", opts->pulse_digi_rate_out/1000, opts->pulse_digi_out_channels, state->aout_gain*2);
|
||||
|
||||
Reference in New Issue
Block a user