diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-04-16 09:14:30 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 12:00:37 +0200 |
commit | e983532e446ac7fabe829d9e3aeff8e26b0a277d (patch) | |
tree | 455202378ea19eb64e80b5c764b05a23a97d5f96 /sound/pci/oxygen/oxygen_lib.c | |
parent | [ALSA] oxygen: generalize handling of DAC volume limits (diff) | |
download | linux-e983532e446ac7fabe829d9e3aeff8e26b0a277d.tar.xz linux-e983532e446ac7fabe829d9e3aeff8e26b0a277d.zip |
[ALSA] oxygen: mute by default
Initialize the playback volume controls as being muted and having
minimal volume.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
-rw-r--r-- | sound/pci/oxygen/oxygen_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c index b7aa9fcb6b81..f84f6a128ee9 100644 --- a/sound/pci/oxygen/oxygen_lib.c +++ b/sound/pci/oxygen/oxygen_lib.c @@ -221,7 +221,8 @@ static void oxygen_init(struct oxygen *chip) chip->dac_routing = 1; for (i = 0; i < 8; ++i) - chip->dac_volume[i] = chip->model->dac_volume_max; + chip->dac_volume[i] = chip->model->dac_volume_min; + chip->dac_mute = 1; chip->spdif_playback_enable = 1; chip->spdif_bits = OXYGEN_SPDIF_C | OXYGEN_SPDIF_ORIGINAL | (IEC958_AES1_CON_PCM_CODER << OXYGEN_SPDIF_CATEGORY_SHIFT); |