diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2008-04-22 13:43:01 +0000 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2008-04-22 13:43:01 +0000 |
commit | b1806b2b20e59c7c6c2c9dcb301bbb5698caaca6 (patch) | |
tree | 16f2ab838b9855765e32f337ca390f37e6f8e40d /firmware/export | |
parent | 3ad6ca0da3aff74a76c26b487909549256d35773 (diff) |
move mas35xx specific code for set_channels and set_stereo_width to mas35xx.c audio codec driver. If you ask why I
am doing this... cleaning up sound.c and move target specific code into target tree or into audio codec drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17217 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/audiohw.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h index a4ff75c22c..73c50b8412 100644 --- a/firmware/export/audiohw.h +++ b/firmware/export/audiohw.h @@ -160,4 +160,24 @@ void audiohw_set_monitor(bool enable); #endif /*HAVE_RECORDING*/ + +#if CONFIG_CODEC != SWCODEC + +/* functions which are only used by mas35xx codecs, but are also + aviable on SWCODECS through dsp */ + +/** + * Set channel configuration. + * @param val new channel value (see enum Channel). + */ +void audiohw_set_channel(int val); + +/** + * Set stereo width. + * @param val new stereo width value. + */ +void audiohw_set_stereo_width(int val); + +#endif /* CONFIG_CODEC != SWCODEC */ + #endif /* _AUDIOHW_H_ */ |