From d25a35cb091cabb9c4a10ca92b1398737a010b78 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Tue, 11 Oct 2011 00:48:10 +0200 Subject: [PATCH] alsa-state: Set default config file for Pandora --- recipes/alsa/alsa-state.bb | 2 +- recipes/alsa/alsa-state/angstrom/asound.conf | 47 +++++++++++++++++++- 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/recipes/alsa/alsa-state.bb b/recipes/alsa/alsa-state.bb index 9c3a282aee..d1acf81b2c 100644 --- a/recipes/alsa/alsa-state.bb +++ b/recipes/alsa/alsa-state.bb @@ -7,7 +7,7 @@ DESCRIPTION = "Alsa Scenario Files" LICENSE = "MIT" PV = "0.2.0" -PR = "r15" +PR = "r16" SRC_URI = "\ file://asound.conf \ diff --git a/recipes/alsa/alsa-state/angstrom/asound.conf b/recipes/alsa/alsa-state/angstrom/asound.conf index f7e0e4a763..5d95b99292 100644 --- a/recipes/alsa/alsa-state/angstrom/asound.conf +++ b/recipes/alsa/alsa-state/angstrom/asound.conf @@ -1,2 +1,47 @@ -# default angstrom configuration +pcm.dmixed { + type dmix + ipc_key 1234 + slave { + pcm "hw:0" + buffer_size 8192 + period_size 2048 + #periods 128 + period_time 0 + buffer_time 0 + rate 44100 + } +} + +pcm.softvol { + type softvol + slave { + pcm "dmixed" + } + control { + name "Master" + card 0 + } +} + +pcm.!default { + type plug + slave.pcm "softvol" +} + +pcm.dsp0 { + type plug + slave { + pcm "hw:0" + } +} + +ctl.dsp0 { + type plug + slave.pcm "hw:0" +} + +ctl.mixer0 { + type plug + slave.pcm "hw:0" +} -- 2.39.5