forked from len0rd/rockbox
recording on Samsung YH-820/YH-92x
Change-Id: I6eac4cf6c16a322910ad17bfbf3105e330cd0e36 Reviewed-on: http://gerrit.rockbox.org/815 Reviewed-by: Szymon Dziok <b0hoon@o2.pl> Tested: Szymon Dziok <b0hoon@o2.pl>
This commit is contained in:
parent
5237b36a85
commit
53efa59e12
6 changed files with 118 additions and 16 deletions
|
|
@ -22,8 +22,19 @@
|
|||
#ifndef _AK4537_H
|
||||
#define _AK4537_H
|
||||
|
||||
|
||||
#define AUDIOHW_CAPS (LIN_GAIN_CAP | MIC_GAIN_CAP)
|
||||
|
||||
/* Volume goes from -127.0 ... 0 dB in 0.5 dB increments */
|
||||
AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -128, 0, -25)
|
||||
#ifdef HAVE_RECORDING
|
||||
/* line input: -23 .. +12dB */
|
||||
AUDIOHW_SETTING(LEFT_GAIN, "dB", 0, 1, -23, 12, 0)
|
||||
AUDIOHW_SETTING(RIGHT_GAIN, "dB", 0, 1, -23, 12, 0)
|
||||
/* mic gain: +15dB fixed +20dB switchable mic preamp gain
|
||||
and the line stage of -23..+12dB make a total range of -8..+47dB */
|
||||
AUDIOHW_SETTING(MIC_GAIN, "dB", 0, 1, -8, 47, 20)
|
||||
#endif /* HAVE_RECORDING */
|
||||
|
||||
#define AKC_NUM_REGS 0x11
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue