alsa-utils: Set volume for Allwinner analog codecs

This commit is contained in:
Jernej Skrabec 2018-12-18 21:24:38 +01:00
parent 5273f88996
commit 9875ed1595

View File

@ -2,6 +2,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) # Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
# setup alsa (especially the mixer config) # setup alsa (especially the mixer config)
@ -114,6 +115,13 @@ else
# NVidia CK804 sound devices # NVidia CK804 sound devices
mixer $card 'IEC958 Playback AC97-SPSA' 100% mixer $card 'IEC958 Playback AC97-SPSA' 100%
# Allwinner H3 Analog
mixer $card 'Line Out' 0db on
# Allwinner A64 Analog
mixer $card Headphone 0db on
mixer $card 'AIF1 Slot 0 Digital DAC' on
fi fi
exit 0 exit 0