From 0662793ca0050e823cd1207cc4689a1cba5068bd Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 28 Jun 2018 06:24:26 -0400 Subject: 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 --- firmware/sound.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'firmware/sound.c') 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) -- cgit v1.2.3