blob: 907cdf53abd2f850bd79b134dad7c9c6f8eff953 (
plain)
- # 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
- }
|