alsa-state: remove incorrect 'asound.conf' config file
The default 'asound.conf' config file is not valid for our platforms and according to <http://www.alsa-project.org/main/index.php/Asoundrc> is not required. This allows to play several videos with gstreamer that were failing due to audio issues. It also fixes the problem of 'aplay' not playing audios with several (more than two) channels. https://jira.digi.com/browse/DEL-608 https://jira.digi.com/browse/DEL-872 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
5bd6bae9ca
commit
c7e0ab217d
|
|
@ -5,7 +5,7 @@ PR_append = "+${DISTRO}"
|
|||
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/${MACHINE}/${PREFERRED_VERSION_linux-dey}:${THISDIR}/${PN}/${MACHINE}:"
|
||||
|
||||
SRC_URI_append_ccardimx28js = " \
|
||||
SRC_URI += " \
|
||||
file://asound.inline_play.state \
|
||||
file://asound.inline.state \
|
||||
file://asound.micro_play.state \
|
||||
|
|
@ -13,10 +13,10 @@ SRC_URI_append_ccardimx28js = " \
|
|||
file://asound.play.state \
|
||||
"
|
||||
|
||||
SRC_URI_append_mx5 = " \
|
||||
file://asound.inline_play.state \
|
||||
file://asound.inline.state \
|
||||
file://asound.micro_play.state \
|
||||
file://asound.micro.state \
|
||||
file://asound.play.state \
|
||||
"
|
||||
# The default 'asound.conf' config file is not valid for our platforms and
|
||||
# according to <http://www.alsa-project.org/main/index.php/Asoundrc> is not
|
||||
# required
|
||||
do_install_append() {
|
||||
rm -f ${D}${sysconfdir}/asound.conf
|
||||
ln -sf asound.micro_play.state ${D}${localstatedir}/lib/alsa/asound.state
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
asound.micro_play.state
|
||||
|
|
@ -1 +0,0 @@
|
|||
asound.micro_play.state
|
||||
|
|
@ -1 +0,0 @@
|
|||
asound.micro_play.state
|
||||
|
|
@ -1 +0,0 @@
|
|||
asound.micro_play.state
|
||||
Loading…
Reference in New Issue