1
0
Fork 0
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:
Jens Arnold 2006-05-14 23:34:24 +00:00
parent c9a1b4e9aa
commit a238ab9df8
9 changed files with 109 additions and 477 deletions

View file

@ -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);
}