pcm.my_card { 
  type hw
  card 0
# emulation nmap, uncomment if an application needs nmap
# mmap_emulation true
}
 
pcm.dmixed {
  type dmix 
  ipc_key 1024 
  slave {
   pcm "hw:0,0" 
   period_time 0
   period_size 1024
   buffer_size 4096
   periods 128
   rate 48000 
     }
}
 
pcm.dsnooped {
  type dsnoop 
  ipc_key 2048 
  slave {
    pcm "hw:0,0" 
    rate 48000
    period_size 1024
  }
}
 
pcm.asymed {
  type asym 
  playback.pcm "dmixed" 
  capture.pcm "dsnooped"
}
 
pcm.pasymed {
  type plug 
  slave.pcm "asymed"
}
 
ctl.pasymed { # controller for xmms amongst others
        type hw
        card 0
}
 
pcm.dsp0 { # for applications started with "aoss myapplication"
  type plug
  slave.pcm "asymed"
}
 
pcm.!default { # default sound output
  type plug
  slave.pcm "asymed"
}
ctl.mixer0 {
        type hw
        card 0
}
