mirror of https://github.com/lwvmobile/dsd-fme.git
NCURSES: '3' Key Slot Preference Cycle;
This commit is contained in:
parent
c1e657a5e3
commit
931fae62c6
|
|
@ -3921,10 +3921,16 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||
}
|
||||
}
|
||||
|
||||
if (c == 51) //'3' key, toggle slot preference on 48k/1
|
||||
// if (c == 51) //'3' key, toggle slot preference on 48k/1
|
||||
// {
|
||||
// if (opts->slot_preference == 1) opts->slot_preference = 0;
|
||||
// else opts->slot_preference = 1;
|
||||
// }
|
||||
|
||||
if (c == 51) //'3' key, cycle slot preference
|
||||
{
|
||||
if (opts->slot_preference == 1) opts->slot_preference = 0;
|
||||
else opts->slot_preference = 1;
|
||||
if (opts->slot_preference == 0 || opts->slot_preference == 1) opts->slot_preference++;
|
||||
else opts->slot_preference = 0;
|
||||
}
|
||||
|
||||
if (c == 43) //+ key, increment audio_gain
|
||||
|
|
|
|||
Loading…
Reference in New Issue