Re: dmix and mic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use to talk on this on my speeches, you just lack an asym pcm with
can join the microphone with the dmixed output. This conf also adds
dsnoop so varios aplications can read data from the same microphone at
the same time :)

#The default device:
pcm.!default {
type plug
slave.pcm "asymed"
}

#This is the audio output:
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}

ctl.dmixer {
type hw
card 0
}

#This is the microphone
pcm.dsnooped {
    ipc_key 1027
    type dsnoop
    slave.pcm "hw:0,0"
}

#This makes both channels work together.
pcm.asymed {
        type asym
        playback.pcm "dmixer"
        capture.pcm "dsnooped"
}

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux