Commit 9a0b37926595b57c4b5fc56aa6fd243bed4ee4eb

Authored by Clemens Ladisch
Committed by Takashi Iwai
1 parent de0074ee7a

ALSA: oxygen: fix input monitor dB scale

The input monitor half volume bit results in a factor of 0.5, so the
minimum scale value should be -6 dB.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

sound/pci/oxygen/oxygen_mixer.c
... ... @@ -708,7 +708,7 @@
708 708 .private_value = ((codec) << 24) | ((stereo) << 16) | (index), \
709 709 }
710 710  
711   -static DECLARE_TLV_DB_SCALE(monitor_db_scale, -1000, 1000, 0);
  711 +static DECLARE_TLV_DB_SCALE(monitor_db_scale, -600, 600, 0);
712 712 static DECLARE_TLV_DB_SCALE(ac97_db_scale, -3450, 150, 0);
713 713 static DECLARE_TLV_DB_SCALE(ac97_rec_db_scale, 0, 150, 0);
714 714