diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2018-06-28 06:24:26 -0400 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2018-07-28 10:56:31 -0400 |
commit | 0662793ca0050e823cd1207cc4689a1cba5068bd (patch) | |
tree | 08cd2ec59c9044c96b697b5bf8d0640841d044e0 /firmware/sound.c | |
parent | b3e2bd619b1b7ea94ef29d32db48e80b347a1990 (diff) |
Add cleaned-up xDuoo X3 support
Cleaned up, rebased, and forward-ported from the xvortex fork.
(original credit to vsoftster@gmail.com)
Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Diffstat (limited to 'firmware/sound.c')
-rw-r--r-- | firmware/sound.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/sound.c b/firmware/sound.c index a19cc15c41..eb66f34c5d 100644 --- a/firmware/sound.c +++ b/firmware/sound.c @@ -324,6 +324,16 @@ void sound_set_filter_roll_off(int value) } #endif +#if defined(AUDIOHW_HAVE_FUNCTIONAL_MODE) +void sound_set_functional_mode(int value) +{ + if (!audio_is_initialized) + return; + + audiohw_set_functional_mode(value); +} +#endif + #if defined(AUDIOHW_HAVE_EQ) int sound_enum_hw_eq_band_setting(unsigned int band, unsigned int band_setting) |