All pastes #769746 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-11 17:29 UTC
rendered paste body
*** ~/.asoundrc *** BEGIN

# define the sound card
pcm.card0 {
        type hw
        card 0
        device 0
#       mmap_emulation true
        #nonblock yes
#       rate 48000
}


# define software mixer device
pcm.dmix0 {
        type dmix
        ipc_key 1000
#       mmap_emulation true
#       rate 44100

        slave {
                pcm     "card0"
                period_time 0
                period_size 1024
                buffer_size 8192
                #rate 44100
                rate 48000
        }
}

# define dsnoop capture device
pcm.dsnoop0 {
        type dsnoop
        ipc_key 1001
        slave {
                pcm     "card0"
        }
}

# Define the asymetric device
pcm.asym0 {
        type asym
        playback.pcm    "dmix0"
        capture.pcm     "dsnoop0"
}

pcm.pasym0 {
        type plug
        slave.pcm "asym0"
}

# OSS emulation - use asymetric device
pcm.dsp0 {
        type plug
        slave.pcm "asym0"
}

ctl.dsp0 {
        type plug
        slave.pcm "asym0"
}

# ALSA default devices - use hardware directly
pcm.!default {
        type plug
        slave.pcm "asym0"
}

ctl.!default {
        type plug
        slave.pcm "asym0"
}

*** ~/.asoundrc *** END



*** alsamixer output when above file is in place *** BEGIN

ALSA lib control.c:874:(snd_ctl_open_conf) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_ctl_plug.so

alsamixer: function snd_ctl_open failed for default: No such file or directory


*** alsamixer output when above file is in place *** END