aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Sarbu <florin.sarbu@windriver.com>2014-10-13 15:42:20 +0300
committerHolger Behrens <holger.behrens@windriver.com>2014-10-17 17:29:14 +0200
commitc7bd2f32b49d50618474dd21a5f874938a6ec482 (patch)
treece69baa8861acbc766a9b80239155b8bd9611ae9
parent4cc550c159953f41fd14ee7ec9b894e2f047206f (diff)
downloadmeta-ivi-c7bd2f32b49d50618474dd21a5f874938a6ec482.tar.gz
meta-ivi-c7bd2f32b49d50618474dd21a5f874938a6ec482.tar.bz2
meta-ivi-c7bd2f32b49d50618474dd21a5f874938a6ec482.zip
Add asound.conf for using with pulse
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com> Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
-rw-r--r--meta-ivi-demo/recipes-demo-platform/packagegroups/packagegroup-gdp-am-poc.bb1
-rw-r--r--meta-ivi-demo/recipes-multimedia/alsa/alsa-state.bbappend7
-rw-r--r--meta-ivi-demo/recipes-multimedia/alsa/alsa-state/asound.conf15
3 files changed, 23 insertions, 0 deletions
diff --git a/meta-ivi-demo/recipes-demo-platform/packagegroups/packagegroup-gdp-am-poc.bb b/meta-ivi-demo/recipes-demo-platform/packagegroups/packagegroup-gdp-am-poc.bb
index b7e5da7..53a9f61 100644
--- a/meta-ivi-demo/recipes-demo-platform/packagegroups/packagegroup-gdp-am-poc.bb
+++ b/meta-ivi-demo/recipes-demo-platform/packagegroups/packagegroup-gdp-am-poc.bb
@@ -16,6 +16,7 @@ PACKAGES = "\
ALLOW_EMPTY_${PN} = "1"
RDEPENDS_${PN} += "\
+ alsa-state \
audiomanager-poc \
libasound-module-conf-pulse \
libasound-module-ctl-pulse \
diff --git a/meta-ivi-demo/recipes-multimedia/alsa/alsa-state.bbappend b/meta-ivi-demo/recipes-multimedia/alsa/alsa-state.bbappend
new file mode 100644
index 0000000..f61eebd
--- /dev/null
+++ b/meta-ivi-demo/recipes-multimedia/alsa/alsa-state.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+
+SRC_URI_append = " file://asound.conf"
+
+do_install_append() {
+ cp ${WORKDIR}/asound.conf ${D}/etc
+}
diff --git a/meta-ivi-demo/recipes-multimedia/alsa/alsa-state/asound.conf b/meta-ivi-demo/recipes-multimedia/alsa/alsa-state/asound.conf
new file mode 100644
index 0000000..048465b
--- /dev/null
+++ b/meta-ivi-demo/recipes-multimedia/alsa/alsa-state/asound.conf
@@ -0,0 +1,15 @@
+pcm.pulse {
+ type pulse
+}
+
+ctl.pulse {
+ type pulse
+}
+
+pcm.!default {
+ type pulse
+}
+
+ctl.!default {
+ type pulse
+}