From cb9b5d3b50425dd298e48d7d31cfff17be9f3c96 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 30 Sep 2020 22:49:36 -0400 Subject: [PATCH] Add 192 and 176KHz to mikmod and test_sampr plugins Change-Id: I34e835ae0ae39da1ce50153eee86c14747705c4e --- apps/plugins/mikmod/mikmod.c | 2 ++ apps/plugins/test_sampr.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/apps/plugins/mikmod/mikmod.c b/apps/plugins/mikmod/mikmod.c index 0eba320f18..bb295f1029 100644 --- a/apps/plugins/mikmod/mikmod.c +++ b/apps/plugins/mikmod/mikmod.c @@ -547,6 +547,8 @@ static void applysettings(void) } 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_88_([HW_FREQ_88] = { "88.2kHz", TALK_ID(88, UNIT_KHZ) },) HW_HAVE_64_([HW_FREQ_64] = { "64kHz", TALK_ID(64, UNIT_KHZ) },) diff --git a/apps/plugins/test_sampr.c b/apps/plugins/test_sampr.c index fc2f695c70..c13392f069 100644 --- a/apps/plugins/test_sampr.c +++ b/apps/plugins/test_sampr.c @@ -192,6 +192,8 @@ static void play_tone(bool volume_set) { 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_88_([HW_FREQ_88] = { "88.2kHz", -1 },) HW_HAVE_64_([HW_FREQ_64] = { "64kHz", -1 },)