summaryrefslogtreecommitdiffstats
path: root/recipes/alsa
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/alsa')
-rw-r--r--recipes/alsa/alsa-state.bbappend23
-rw-r--r--recipes/alsa/alsa-state/emulator/asound.conf4
-rw-r--r--recipes/alsa/alsa-state/raspberrypi/asound.conf9
3 files changed, 36 insertions, 0 deletions
diff --git a/recipes/alsa/alsa-state.bbappend b/recipes/alsa/alsa-state.bbappend
new file mode 100644
index 0000000..c9fba43
--- /dev/null
+++ b/recipes/alsa/alsa-state.bbappend
@@ -0,0 +1,23 @@
1#############################################################################
2##
3## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
4##
5## This file is part of the Qt Enterprise Embedded Scripts of the Qt
6## framework.
7##
8## $QT_BEGIN_LICENSE$
9## Commercial License Usage Only
10## Licensees holding valid commercial Qt license agreements with Digia
11## with an appropriate addendum covering the Qt Enterprise Embedded Scripts,
12## may use this file in accordance with the terms contained in said license
13## agreement.
14##
15## For further information use the contact form at
16## http://qt.digia.com/contact-us.
17##
18##
19## $QT_END_LICENSE$
20##
21#############################################################################
22
23FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/recipes/alsa/alsa-state/emulator/asound.conf b/recipes/alsa/alsa-state/emulator/asound.conf
new file mode 100644
index 0000000..edd2e82
--- /dev/null
+++ b/recipes/alsa/alsa-state/emulator/asound.conf
@@ -0,0 +1,4 @@
1pcm.!default {
2 type plug
3 slave.pcm "dmix"
4}
diff --git a/recipes/alsa/alsa-state/raspberrypi/asound.conf b/recipes/alsa/alsa-state/raspberrypi/asound.conf
new file mode 100644
index 0000000..83f7f9a
--- /dev/null
+++ b/recipes/alsa/alsa-state/raspberrypi/asound.conf
@@ -0,0 +1,9 @@
1pcm.!default {
2 type hw
3 card 0
4}
5
6ctl.!default {
7 type hw
8 card 0
9}