diff options
-rw-r--r-- | asound.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/asound.conf b/asound.conf new file mode 100644 index 0000000..907cdf5 --- /dev/null +++ b/asound.conf @@ -0,0 +1,32 @@ +# This was found here: +# http://alsa.opensrc.org/index.php?page=Dmix+Kde+-+arts%2C+ESD+and+SDL+quick+and+dirty+HOWTO + +pcm.ossmix { + type dmix + ipc_key 1027 # must be unique! + slave { + pcm "hw:0,0" # you cannot use a "plug" device here, darn. + period_time 0 + period_size 1024 + buffer_size 4096 + #format "S32_LE" + #periods 128 # dito. + rate 44100 # with rate 8000 you *will* hear, if ossmix is used :) + } + + bindings { + 0 0 # from 0 => to 0 + 1 1 # from 1 => to 1 + } +} + +pcm.!default { + type plug + slave.pcm "ossmix" +} + +# mixer0 like above +ctl.mixer0 { + type hw + card 0 +} |