rockbox/firmware/drivers/audio
Cástor Muñoz 42abc6a496 iPod Classic: capture support for CS42L55 codec
There are a couple of power saving options that can be selected using
defines, they configure the CODEC in a different way than OF does:

 MONO_MIC: jack microphone is connected to left channel, disabling
 right channel saves ~1 mW, there is no reason to not to do it.

 BYPASS_PGA: this option only applies to the line-in, OF does not
 bypass the PGA and configures it to 0 dB gain. At the beginning,
 this patch was written based on CODEC datasheet, bypassing PGA
 because it saves power and incrementes dinamic range ~1dB, i have
 used this setup for a while without problems. Finally this option
 was disabled at the last minute, i decided to do it after reviewing
 the OF and realizing that CS42L55 datasheet recommends to bypass the
 PGA only if the HW includes a couple of capacitors (see Typical
 Connection Diagram, Note 4), at this moment i don't know if Classic
 includes these capacitors (probably not). Anyway, i am not able to
 tell the difference listening to voice recodings.

TODO:
- Use variable PGA gain for jack microphone (it is fixed to +12 dB.
  as OF does).
- I am not a fan of having lots of unused #define options, these could
  be useful for a generic driver but actually this driver is Classic
  oriented, i am not sure if it could be considered disirable to
  eliminate them in the final version.

Change-Id: I3dadf2341f44d5e13f3847e6c9de4a76cd6f0918
2015-10-07 06:15:03 +02:00
..
aic3x.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
ak4537.c Samsung YHxxx: reduce pop noise on power down 2015-09-24 23:06:18 +02:00
android.c iBasso DX50/DX90: Major code cleanup and reorganization. 2015-02-02 21:57:55 +01:00
as3514.c AS3543: Fix recording volume setting and voice 2015-06-02 02:04:34 +02:00
audiohw-swcodec.c Fix 6e211ab errors and warnings. 2013-05-23 14:58:57 -04:00
cs42l55.c iPod Classic: capture support for CS42L55 codec 2015-10-07 06:15:03 +02:00
dac3550a.c Straighten out the mad twisted state of sound.c and related areas. 2013-04-15 12:02:05 -04:00
df1704.c ma9: Slightly change df1704 driver API. 2013-11-05 09:59:45 +04:00
dummy_codec.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
imx233-codec.c imx233: add support for speaker on stmp3780 2014-02-16 20:53:08 +01:00
mas35xx.c Fix some more errors and warnings from 0c7b787. 2013-04-15 13:24:29 -04:00
pcm1792.c ma8/ma9: Cleanup - fix tabs, remove unused defines. 2013-11-05 13:34:52 +04:00
rk27xx_codec.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
sdl.c Provide high resolution volume and prescaler to hosted targets. 2013-04-27 06:59:27 +02:00
tlv320.c Add missing kernel.h includes (hopefully all of them). 2014-01-05 20:32:09 +01:00
tsc2100.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
uda1341.c Do some cleanup, adjustment and a couple fixes to recent sound changes. 2013-04-22 20:38:17 -04:00
uda1380.c optimize WSPLL work for iriver h100 and h300 series 2014-09-05 09:14:53 +02:00
wm8731.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00
wm8751.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00
wm8758.c Fix more reds. 2014-03-03 20:26:08 +01:00
wm8975.c Fix more reds. 2014-03-03 20:26:08 +01:00
wm8978.c Samsung YP-R1 target port 2014-02-05 09:56:21 +01:00
wm8985.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00