forked from len0rd/rockbox
Iriver: Moved the handling of the UDA1380 split gain (analog preamp + decimator gain) into the UDA driver. * All: Settings structure sorted & cleaned up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9927 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c9a1b4e9aa
commit
a238ab9df8
9 changed files with 109 additions and 477 deletions
|
|
@ -348,12 +348,11 @@ void audio_set_recording_options(int frequency, int quality,
|
|||
* Note that microphone is mono, only left value is used
|
||||
* See uda1380_set_recvol() for exact ranges.
|
||||
*
|
||||
* @param type 0=line-in (radio), 1=mic, 2=ADC
|
||||
* @param type 0=line-in (radio), 1=mic
|
||||
*
|
||||
*/
|
||||
void audio_set_recording_gain(int left, int right, int type)
|
||||
{
|
||||
//logf("rcmrec: t=%d l=%d r=%d", type, left, right);
|
||||
uda1380_set_recvol(left, right, type);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue