summaryrefslogtreecommitdiff
path: root/apps/menus/menu_common.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 00:01:32 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit8cb555460ff79e636a7907fb2589e16db98c8600 (patch)
tree930a3878c7641c9ce045b24f0ade1309e36d5806 /apps/menus/menu_common.c
parent0c4f89370d05056faa789aa9cabcccc4e509fb9f (diff)
downloadrockbox-8cb555460ff79e636a7907fb2589e16db98c8600.tar.gz
rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.zip
[3/4] Completely remove HWCODEC support
'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
Diffstat (limited to 'apps/menus/menu_common.c')
-rw-r--r--apps/menus/menu_common.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/menus/menu_common.c b/apps/menus/menu_common.c
index 2ef48cc23b..1fa8ba3af2 100644
--- a/apps/menus/menu_common.c
+++ b/apps/menus/menu_common.c
@@ -25,11 +25,8 @@
25#include "action.h" 25#include "action.h"
26#include "menu.h" 26#include "menu.h"
27#include "menu_common.h" 27#include "menu_common.h"
28#if CONFIG_CODEC == SWCODEC
29#include "pcmbuf.h" 28#include "pcmbuf.h"
30#endif
31 29
32#if CONFIG_CODEC == SWCODEC
33/* Use this callback if your menu adjusts DSP settings. */ 30/* Use this callback if your menu adjusts DSP settings. */
34int lowlatency_callback(int action, 31int lowlatency_callback(int action,
35 const struct menu_item_ex *this_item, 32 const struct menu_item_ex *this_item,
@@ -48,5 +45,3 @@ int lowlatency_callback(int action,
48 } 45 }
49 return action; 46 return action;
50} 47}
51#endif
52