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:
Javier Viguera 2013-11-29 14:12:33 +01:00
parent 5bd6bae9ca
commit c7e0ab217d
5 changed files with 13 additions and 17 deletions

View File

@ -5,18 +5,18 @@ PR_append = "+${DISTRO}"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/${MACHINE}/${PREFERRED_VERSION_linux-dey}:${THISDIR}/${PN}/${MACHINE}:"
SRC_URI_append_ccardimx28js = " \
file://asound.inline_play.state \
file://asound.inline.state \
file://asound.micro_play.state \
file://asound.micro.state \
file://asound.play.state \
SRC_URI += " \
file://asound.inline_play.state \
file://asound.inline.state \
file://asound.micro_play.state \
file://asound.micro.state \
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
}

View File

@ -1 +0,0 @@
asound.micro_play.state

View File

@ -1 +0,0 @@
asound.micro_play.state

View File

@ -1 +0,0 @@
asound.micro_play.state