diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-02-20 03:33:40 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-20 05:14:25 -0500 |
commit | eacbb9dba6b4c982a0217ea2c7d15db88d4fda37 (patch) | |
tree | cad07a287b75013ead7a61840f5cf211a0f8666c | |
parent | d91b424d6d7bda0773b6b6b606d48d089c4f5115 (diff) |
sound: virtuoso: increase minimum volume to -60 dB
Use -60 dB as the minimum value of the master volume mixer control.
While the DACs would support ranges down to about -120 dB, such
attenuations are not useful in practice.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/oxygen/virtuoso.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 4ac49772da8c..00dc97806f1b 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c | |||
@@ -758,8 +758,8 @@ static void xonar_line_mic_ac97_switch(struct oxygen *chip, | |||
758 | } | 758 | } |
759 | } | 759 | } |
760 | 760 | ||
761 | static const DECLARE_TLV_DB_SCALE(pcm1796_db_scale, -12000, 50, 0); | 761 | static const DECLARE_TLV_DB_SCALE(pcm1796_db_scale, -6000, 50, 0); |
762 | static const DECLARE_TLV_DB_SCALE(cs4362a_db_scale, -12700, 100, 0); | 762 | static const DECLARE_TLV_DB_SCALE(cs4362a_db_scale, -6000, 100, 0); |
763 | 763 | ||
764 | static int xonar_d2_control_filter(struct snd_kcontrol_new *template) | 764 | static int xonar_d2_control_filter(struct snd_kcontrol_new *template) |
765 | { | 765 | { |
@@ -808,8 +808,8 @@ static const struct oxygen_model model_xonar_d2 = { | |||
808 | MIDI_OUTPUT | | 808 | MIDI_OUTPUT | |
809 | MIDI_INPUT, | 809 | MIDI_INPUT, |
810 | .dac_channels = 8, | 810 | .dac_channels = 8, |
811 | .dac_volume_min = 0x0f, | 811 | .dac_volume_min = 255 - 2*60, |
812 | .dac_volume_max = 0xff, | 812 | .dac_volume_max = 255, |
813 | .misc_flags = OXYGEN_MISC_MIDI, | 813 | .misc_flags = OXYGEN_MISC_MIDI, |
814 | .function_flags = OXYGEN_FUNCTION_SPI | | 814 | .function_flags = OXYGEN_FUNCTION_SPI | |
815 | OXYGEN_FUNCTION_ENABLE_SPI_4_5, | 815 | OXYGEN_FUNCTION_ENABLE_SPI_4_5, |
@@ -837,7 +837,7 @@ static const struct oxygen_model model_xonar_d1 = { | |||
837 | PLAYBACK_1_TO_SPDIF | | 837 | PLAYBACK_1_TO_SPDIF | |
838 | CAPTURE_0_FROM_I2S_2, | 838 | CAPTURE_0_FROM_I2S_2, |
839 | .dac_channels = 8, | 839 | .dac_channels = 8, |
840 | .dac_volume_min = 0, | 840 | .dac_volume_min = 127 - 60, |
841 | .dac_volume_max = 127, | 841 | .dac_volume_max = 127, |
842 | .function_flags = OXYGEN_FUNCTION_2WIRE, | 842 | .function_flags = OXYGEN_FUNCTION_2WIRE, |
843 | .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST, | 843 | .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST, |
@@ -864,8 +864,8 @@ static const struct oxygen_model model_xonar_hdav = { | |||
864 | PLAYBACK_1_TO_SPDIF | | 864 | PLAYBACK_1_TO_SPDIF | |
865 | CAPTURE_0_FROM_I2S_2, | 865 | CAPTURE_0_FROM_I2S_2, |
866 | .dac_channels = 8, | 866 | .dac_channels = 8, |
867 | .dac_volume_min = 0x0f, | 867 | .dac_volume_min = 255 - 2*60, |
868 | .dac_volume_max = 0xff, | 868 | .dac_volume_max = 255, |
869 | .misc_flags = OXYGEN_MISC_MIDI, | 869 | .misc_flags = OXYGEN_MISC_MIDI, |
870 | .function_flags = OXYGEN_FUNCTION_2WIRE, | 870 | .function_flags = OXYGEN_FUNCTION_2WIRE, |
871 | .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST, | 871 | .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST, |