diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-03 18:17:11 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-09 12:41:18 -0400 |
commit | aabc8aca47e60cf745a34af28c50679fcb967910 (patch) | |
tree | cfe17f546aae9785fb13482f39527e2da0597ccb /firmware/export/fiiolinux_codec.h | |
parent | 4231c2c83f2b5331e3e38b10a308ee3752315f9c (diff) | |
download | rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.tar.gz rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.zip |
New port: FiiO M3K
Most credit goes to: Roman Skylarov
Additional integration and refactoring by myself.
*** COMPLETELY UNTESTED ***
Change-Id: Ia64c36d92e0214c6b15f7a868df286f8113ea27b
Diffstat (limited to 'firmware/export/fiiolinux_codec.h')
-rw-r--r-- | firmware/export/fiiolinux_codec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/fiiolinux_codec.h b/firmware/export/fiiolinux_codec.h index 22c2263046..118a0928d7 100644 --- a/firmware/export/fiiolinux_codec.h +++ b/firmware/export/fiiolinux_codec.h | |||
@@ -2,8 +2,11 @@ | |||
2 | #define __FIIOLINUX_CODEC__ | 2 | #define __FIIOLINUX_CODEC__ |
3 | 3 | ||
4 | #define AUDIOHW_CAPS (FILTER_ROLL_OFF_CAP) | 4 | #define AUDIOHW_CAPS (FILTER_ROLL_OFF_CAP) |
5 | #define AUDIOHW_HAVE_SHORT2_ROLL_OFF | ||
5 | AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -100, 0, -30) | 6 | AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -100, 0, -30) |
6 | AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0) | 7 | AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0) |
7 | #endif | 8 | #endif |
8 | 9 | ||
10 | #define AUDIOHW_MUTE_ON_PAUSE | ||
11 | |||
9 | void audiohw_mute(int mute); | 12 | void audiohw_mute(int mute); |