meta-nuc: provide a working alsa config for the nuc BSP

The nuc supports audio only via the HDMI ports. This provides an alsa
sound configuration where HDMI0 port is set as a default sound out
device.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
This commit is contained in:
Nitin A Kamble 2012-12-11 10:38:26 -08:00 committed by Tom Zanussi
parent 3907096db9
commit 6408a39055
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

View File

@ -0,0 +1,24 @@
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid 0
ipc_perm 0666
slave {
pcm "hw:0,3" # HDMI CARD AND DEVICE
period_time 0
period_size 1024
buffer_size 8192
rate 48000 #or 44100
}
}
ctl.dmixer {
type hw
card 0
}