summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-03 09:19:12 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-03 14:41:40 +0000
commitd4a620e85af6c1eae4c99b92c81d8c098f13eae9 (patch)
treed5ff41ccf6267d847e98e3f906701c48ca363b9d /firmware/export
parentd18157608d5aba50cf538c4853f42fce7e3731ef (diff)
downloadrockbox-d4a620e85af6c1eae4c99b92c81d8c098f13eae9.tar.gz
rockbox-d4a620e85af6c1eae4c99b92c81d8c098f13eae9.tar.bz2
rockbox-d4a620e85af6c1eae4c99b92c81d8c098f13eae9.zip
alsa: introduce AUDIOHW_MUTE_ON_PAUSE, and have rocker use it.
Change-Id: I1edbb8e71a9c73baaeecb01b66cbee6c3f7b5f8f
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/rocker_codec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/rocker_codec.h b/firmware/export/rocker_codec.h
index 673b12b494..428fd7e890 100644
--- a/firmware/export/rocker_codec.h
+++ b/firmware/export/rocker_codec.h
@@ -5,4 +5,6 @@
AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -127, 0, -30)
#endif
+#define AUDIOHW_MUTE_ON_PAUSE
+
void audiohw_mute(int mute);