parent
f1c607340a
commit
b064d0bcad
@ -0,0 +1,46 @@
|
||||
pcm.!default {
|
||||
type asym
|
||||
playback.pcm "softvol"
|
||||
capture.pcm "shared_mic"
|
||||
}
|
||||
|
||||
ctl.!default {
|
||||
type hw
|
||||
card 1
|
||||
}
|
||||
|
||||
# Playback with software volume and mixing
|
||||
pcm.softvol {
|
||||
type softvol
|
||||
slave.pcm "shared_speaker"
|
||||
control {
|
||||
name "Master"
|
||||
card 1
|
||||
}
|
||||
}
|
||||
|
||||
pcm.shared_speaker {
|
||||
type dmix
|
||||
ipc_key 1024
|
||||
slave {
|
||||
pcm "hw:1,0"
|
||||
rate 48000
|
||||
period_time 0
|
||||
period_size 1024
|
||||
buffer_size 4096
|
||||
}
|
||||
}
|
||||
|
||||
# Recording with input mixing
|
||||
pcm.shared_mic {
|
||||
type dsnoop
|
||||
ipc_key 2048
|
||||
slave {
|
||||
pcm "hw:1,0"
|
||||
# channels 1
|
||||
rate 48000
|
||||
period_time 0
|
||||
period_size 1024
|
||||
buffer_size 4096
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue