mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
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:
parent
3907096db9
commit
6408a39055
1
meta-nuc/recipes-bsp/alsa-state/alsa-state.bbappend
Normal file
1
meta-nuc/recipes-bsp/alsa-state/alsa-state.bbappend
Normal file
|
@ -0,0 +1 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
24
meta-nuc/recipes-bsp/alsa-state/alsa-state/nuc/asound.conf
Normal file
24
meta-nuc/recipes-bsp/alsa-state/alsa-state/nuc/asound.conf
Normal 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user