On Wed, 17 Mar 2004 the mental interface of
Christian Heim told:

> Also, erstmal hallo zusammen,
> 
> Ich habe nun endlich (nach 2 wochenlangem Versuchen) endlich ALSA als
> Modul zum laufen bekommen.
> 
> Nur habe ich nun das Problem, das wenn irgendeine andere Anwendung Sound
> benutzt (z.B. XMMS) und ich in dem Moment, in dem ich was anderes
> starte, die andere Anwendung auch den Sound benutzen will (bei XMMS ein
> neues Lied anfangen zu spielen), crasht eine der beiden.
> 
$ cat ~/.asoundrc

####################################
pcm.!default {
        type plug
        slave.pcm asymer
}

pcm.dmixer {
        type dmix
        ipc_key 1024
        ipc_key_add_uid true
        slowptr true
        slave {
                pcm "hw:0"
                period_time 0
                period_size 1024
                buffer_size 8192
                rate 44100
        }
}

pcm.dsnooper {
        type dsnoop
        ipc_key 1025
        ipc_key_add_uid true
        slave.pcm "hw:0"
}

pcm.asymer {
        type asym
        playback.pcm "dmixer"
        capture.pcm "dsnooper"
}

pcm.jack {
        type jack
        playback_ports {
                0 alsa_pcm:playback_1
                1 alsa_pcm:playback_2
        }
        capture_ports {
                0 alsa_pcm:capture_1
                1 alsa_pcm:capture_2
        }
}

# These are for alsa-oss
pcm.dsp0 pcm.default
ctl.mixer0 "hw:0"
#################################

Ciao

Elimar

-- 
  "Talking much about oneself can also 
   be a means to conceal oneself."
         -Friedrich Nietzsche

Attachment: signature.asc
Description: Digital signature

Antwort per Email an