alsa config

This commit is contained in:
odrling 2019-07-13 14:44:55 +02:00
parent d3989dbc2f
commit 88f5f86574
4 changed files with 106 additions and 1 deletions

96
.alsa/asoundrc Normal file
View file

@ -0,0 +1,96 @@
pcm.usbin {
type hw
card 0
device 0
subdevice 0
format S32_LE
rate 48000
}
pcm.usbout {
format S32_LE # S32_LE
rate 48000 # can also be 44100
type hw
card USB # your card
device 0 # your device
subdevice 0 #important?
}
pcm.usbmixer {
type dmix
ipc_key 456778
ipc_perm 0660
ipc_gid audio
slave {
channels 2 # make 6 or 5.1 channel
pcm "usbout"
period_size 1024
buffer_size 8192
}
bindings {
0 0
1 1
}
}
pcm.sdacout {
format S24_3LE
rate 48000
type hw
card SDAC
device 0
subdevice 0
}
pcm.sdacmixer {
type dmix
ipc_key 5678293
ipc_perm 0660
ipc_gid audio
slave {
channels 2
pcm "sdacout"
period_size 1024
buffer_size 8192
}
bindings {
0 0
1 1
}
}
pcm.defin {
type dsnoop
ipc_key 7297129
ipc_perm 0660
ipc_gid audio
slave {
channels 1
pcm "usbin"
period_size 1024
buffer_size 8192
}
bindings {
0 0
}
}
pcm.sdacdef {
type asym
playback.pcm "sdacmixer"
capture.pcm "defin"
}
pcm.usbdef {
type asym
playback.pcm "usbmixer"
capture.pcm "defin"
}

4
.alsa/asoundrc.sdac Normal file
View file

@ -0,0 +1,4 @@
pcm.!default {
type plug
slave.pcm "sdacdef"
}

5
.alsa/asoundrc.usb Normal file
View file

@ -0,0 +1,5 @@
pcm.!default {
type plug
slave.pcm "usbdef"
}

@ -1 +1 @@
Subproject commit cff9c64784b7db4801962faf75eb77a090c6bd96
Subproject commit fa8f5215878788ca9e1a8bd5f242c864feb4d4e9