summaryrefslogtreecommitdiff
path: root/firmware/export/audiohw.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-06-29 16:09:28 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-01-02 08:10:01 -0500
commitd4942cc74c82c465ea395637c77ed06565b8b497 (patch)
tree8c1fa737c93f8a2ade5a1566857dc4dc8f578bd6 /firmware/export/audiohw.h
parentaf9459a7992596e932c6d8cc0a6366ff0f0b0fca (diff)
downloadrockbox-d4942cc74c82c465ea395637c77ed06565b8b497.tar.gz
rockbox-d4942cc74c82c465ea395637c77ed06565b8b497.zip
Add Xuelin iHIFI 770/770C/800 support
Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
Diffstat (limited to 'firmware/export/audiohw.h')
-rw-r--r--firmware/export/audiohw.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h
index 09001c8045..458fba3412 100644
--- a/firmware/export/audiohw.h
+++ b/firmware/export/audiohw.h
@@ -165,6 +165,8 @@ struct sound_settings_info
165#include "uda1380.h" 165#include "uda1380.h"
166#elif defined(HAVE_UDA1341) 166#elif defined(HAVE_UDA1341)
167#include "uda1341.h" 167#include "uda1341.h"
168#elif defined(HAVE_WM8740)
169#include "wm8740.h"
168#elif defined(HAVE_WM8750) || defined(HAVE_WM8751) 170#elif defined(HAVE_WM8750) || defined(HAVE_WM8751)
169#include "wm8751.h" 171#include "wm8751.h"
170#elif defined(HAVE_WM8978) 172#elif defined(HAVE_WM8978)
@@ -211,6 +213,8 @@ struct sound_settings_info
211#include "nwzlinux_codec.h" 213#include "nwzlinux_codec.h"
212#elif defined(HAVE_CS4398) 214#elif defined(HAVE_CS4398)
213#include "cs4398.h" 215#include "cs4398.h"
216#elif defined(HAVE_ES9018)
217#include "es9018.h"
214#elif (CONFIG_PLATFORM & (PLATFORM_ANDROID | PLATFORM_MAEMO\ 218#elif (CONFIG_PLATFORM & (PLATFORM_ANDROID | PLATFORM_MAEMO\
215 | PLATFORM_PANDORA | PLATFORM_SDL)) 219 | PLATFORM_PANDORA | PLATFORM_SDL))
216#include "hosted_codec.h" 220#include "hosted_codec.h"
@@ -571,7 +575,7 @@ void audiohw_set_depth_3d(int val);
571#ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF 575#ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF
572/** 576/**
573 * Set DAC's oversampling filter roll-off. 577 * Set DAC's oversampling filter roll-off.
574 * @param val 0 - sharp roll-off, 1 - slow roll-off. 578 * @param val 0 - sharp roll-off, 1 - slow roll-off, 2 - short roll-off, 3 - bypass.
575 * NOTE: AUDIOHW_CAPS need to contain 579 * NOTE: AUDIOHW_CAPS need to contain
576 * FILTER_ROLL_OFF_CAP 580 * FILTER_ROLL_OFF_CAP
577 */ 581 */