summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-09-30 22:49:36 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-09-30 22:52:56 -0400
commitcb9b5d3b50425dd298e48d7d31cfff17be9f3c96 (patch)
tree546901f7403566b0e46d70b0b8fa97624b7c2347
parent1cd004ff5ba1b3e4877df86b2cecabfe507887fa (diff)
Add 192 and 176KHz to mikmod and test_sampr plugins
Change-Id: I34e835ae0ae39da1ce50153eee86c14747705c4e
-rw-r--r--apps/plugins/mikmod/mikmod.c2
-rw-r--r--apps/plugins/test_sampr.c2
2 files changed, 4 insertions, 0 deletions
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 },)