[alsa] internal speaker config
This commit is contained in:
parent
13699fd248
commit
7f42750058
|
@ -64,6 +64,33 @@ pcm.sdacmixer {
|
|||
}
|
||||
}
|
||||
|
||||
pcm.internalout {
|
||||
type hw
|
||||
card 0
|
||||
device 0
|
||||
subdevice 0
|
||||
}
|
||||
|
||||
pcm.internalmixer {
|
||||
type dmix
|
||||
ipc_key 17863093
|
||||
ipc_perm 0660
|
||||
ipc_gid audio
|
||||
|
||||
slave {
|
||||
channels 2
|
||||
pcm "internalout"
|
||||
|
||||
period_size 1024
|
||||
buffer_size 8192
|
||||
}
|
||||
|
||||
bindings {
|
||||
0 0
|
||||
1 1
|
||||
}
|
||||
}
|
||||
|
||||
pcm.defin {
|
||||
type dsnoop
|
||||
ipc_key 7297129
|
||||
|
@ -88,6 +115,12 @@ pcm.sdacdef {
|
|||
capture.pcm "defin"
|
||||
}
|
||||
|
||||
pcm.internaldef {
|
||||
type asym
|
||||
playback.pcm "internalmixer"
|
||||
capture.pcm "defin"
|
||||
}
|
||||
|
||||
pcm.usbdef {
|
||||
type asym
|
||||
playback.pcm "usbmixer"
|
||||
|
|
4
.alsa/asoundrc.internal
Normal file
4
.alsa/asoundrc.internal
Normal file
|
@ -0,0 +1,4 @@
|
|||
pcm.!default {
|
||||
type plug
|
||||
slave.pcm "internaldef"
|
||||
}
|
Loading…
Reference in a new issue