summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-nuc/recipes-bsp/alsa-state/alsa-state.bbappend1
-rw-r--r--meta-nuc/recipes-bsp/alsa-state/alsa-state/nuc/asound.conf24
2 files changed, 25 insertions, 0 deletions
diff --git a/meta-nuc/recipes-bsp/alsa-state/alsa-state.bbappend b/meta-nuc/recipes-bsp/alsa-state/alsa-state.bbappend
new file mode 100644
index 0000000..72d991c
--- /dev/null
+++ b/meta-nuc/recipes-bsp/alsa-state/alsa-state.bbappend
@@ -0,0 +1 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/meta-nuc/recipes-bsp/alsa-state/alsa-state/nuc/asound.conf b/meta-nuc/recipes-bsp/alsa-state/alsa-state/nuc/asound.conf
new file mode 100644
index 0000000..1defe77
--- /dev/null
+++ b/meta-nuc/recipes-bsp/alsa-state/alsa-state/nuc/asound.conf
@@ -0,0 +1,24 @@
1pcm.!default {
2 type plug
3 slave.pcm "dmixer"
4}
5
6pcm.dmixer {
7 type dmix
8 ipc_key 1024
9 ipc_key_add_uid 0
10 ipc_perm 0666
11 slave {
12 pcm "hw:0,3" # HDMI CARD AND DEVICE
13 period_time 0
14 period_size 1024
15 buffer_size 8192
16 rate 48000 #or 44100
17 }
18}
19
20ctl.dmixer {
21 type hw
22 card 0
23}
24