mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-14 01:37:25 -05:00
NCURSES: '3' Key Slot Preference Cycle;
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user