summaryrefslogtreecommitdiff
path: root/apps/misc.h
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/misc.h
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/misc.h')
-rw-r--r--apps/misc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/misc.h b/apps/misc.h
index 8d72e79a3d..10626dfaf4 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -181,7 +181,6 @@ enum current_activity {
181 ACTIVITY_USBSCREEN 181 ACTIVITY_USBSCREEN
182}; 182};
183 183
184#if CONFIG_CODEC == SWCODEC
185void beep_play(unsigned int frequency, unsigned int duration, 184void beep_play(unsigned int frequency, unsigned int duration,
186 unsigned int amplitude); 185 unsigned int amplitude);
187 186
@@ -209,9 +208,6 @@ void keyclick_click(bool rawbutton, int action);
209struct mp3entry; 208struct mp3entry;
210int id3_get_replaygain_mode(const struct mp3entry *id3); 209int id3_get_replaygain_mode(const struct mp3entry *id3);
211void replaygain_update(void); 210void replaygain_update(void);
212#else
213static inline void replaygain_update(void) {}
214#endif /* CONFIG_CODEC == SWCODEC */
215 211
216void push_current_activity(enum current_activity screen); 212void push_current_activity(enum current_activity screen);
217void pop_current_activity(void); 213void pop_current_activity(void);