Create asoundrc with dsnoop

fc-mic
Alan Johnston 7 months ago committed by GitHub
parent f1c607340a
commit b064d0bcad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save

Powered by TurnKey Linux.