Add 192 and 176KHz to mikmod and test_sampr plugins

Change-Id: I34e835ae0ae39da1ce50153eee86c14747705c4e
This commit is contained in:
Solomon Peachy 2020-09-30 22:49:36 -04:00
parent 1cd004ff5b
commit cb9b5d3b50
2 changed files with 4 additions and 0 deletions

View file

@ -547,6 +547,8 @@ static void applysettings(void)
} }
static const struct opt_items sr_names[HW_NUM_FREQ] = { static const struct opt_items sr_names[HW_NUM_FREQ] = {
HW_HAVE_192_([HW_FREQ_192] = { "192kHz", TALK_ID(192, UNIT_KHZ) },)
HW_HAVE_176_([HW_FREQ_176] = { "176.4kHz", TALK_ID(176, UNIT_KHZ) },)
HW_HAVE_96_([HW_FREQ_96] = { "96kHz", TALK_ID(96, UNIT_KHZ) },) HW_HAVE_96_([HW_FREQ_96] = { "96kHz", TALK_ID(96, UNIT_KHZ) },)
HW_HAVE_88_([HW_FREQ_88] = { "88.2kHz", TALK_ID(88, UNIT_KHZ) },) HW_HAVE_88_([HW_FREQ_88] = { "88.2kHz", TALK_ID(88, UNIT_KHZ) },)
HW_HAVE_64_([HW_FREQ_64] = { "64kHz", TALK_ID(64, UNIT_KHZ) },) HW_HAVE_64_([HW_FREQ_64] = { "64kHz", TALK_ID(64, UNIT_KHZ) },)

View file

@ -192,6 +192,8 @@ static void play_tone(bool volume_set)
{ {
static struct opt_items names[HW_NUM_FREQ] = static struct opt_items names[HW_NUM_FREQ] =
{ {
HW_HAVE_192_([HW_FREQ_192] = { "192kHz", -1 },)
HW_HAVE_176_([HW_FREQ_176] = { "176.4kHz", -1 },)
HW_HAVE_96_([HW_FREQ_96] = { "96kHz", -1 },) HW_HAVE_96_([HW_FREQ_96] = { "96kHz", -1 },)
HW_HAVE_88_([HW_FREQ_88] = { "88.2kHz", -1 },) HW_HAVE_88_([HW_FREQ_88] = { "88.2kHz", -1 },)
HW_HAVE_64_([HW_FREQ_64] = { "64kHz", -1 },) HW_HAVE_64_([HW_FREQ_64] = { "64kHz", -1 },)