From: Michael Mrozek Date: Mon, 10 Oct 2011 22:48:10 +0000 (+0200) Subject: alsa-state: Set default config file for Pandora X-Git-Tag: sz_beta3~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d25a35cb091cabb9c4a10ca92b1398737a010b78;p=openembedded.git alsa-state: Set default config file for Pandora --- 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" +}