initial config snippets

This commit is contained in:
DrMaxNix 2024-02-14 22:17:03 +01:00
parent bbe3081459
commit 722503e171
4 changed files with 143 additions and 0 deletions

55
alsa/2i2-asound.conf Normal file
View File

@ -0,0 +1,55 @@
pcm.scarlett-1-2 {
type plug
slave {
pcm {
type route
slave {
pcm {
type dshare
ipc_key 71440625
slave {
pcm "hw:CARD=Gen,DEV=0"
channels 4
rate 48000
buffer_size 1024
period_size 512
}
bindings [ 0 1 ]
}
channels 2
}
ttable.0.0 1
ttable.1.1 1
}
channels 2
}
}
pcm.scarlett-3-4 {
type plug
slave {
pcm {
type route
slave {
pcm {
type dshare
ipc_key 71440625
slave {
pcm "hw:CARD=Gen,DEV=0"
channels 4
rate 48000
buffer_size 1024
period_size 512
}
bindings [ 2 3 ]
}
channels 2
}
ttable.0.0 1
ttable.1.1 1
}
channels 2
}
}

83
alsa/4i4-asound.conf Normal file
View File

@ -0,0 +1,83 @@
pcm.scarlett-1-2 {
type plug
slave {
pcm {
type route
slave {
pcm {
type dshare
ipc_key 71440625
slave {
pcm "hw:CARD=Gen,DEV=0"
channels 6
rate 48000
buffer_size 1024
period_size 512
}
bindings [ 0 1 ]
}
channels 2
}
ttable.0.0 1
ttable.1.1 1
}
channels 2
}
}
pcm.scarlett-3-4 {
type plug
slave {
pcm {
type route
slave {
pcm {
type dshare
ipc_key 71440625
slave {
pcm "hw:CARD=Gen,DEV=0"
channels 6
rate 48000
buffer_size 1024
period_size 512
}
bindings [ 2 3 ]
}
channels 2
}
ttable.0.0 1
ttable.1.1 1
}
channels 2
}
}
pcm.scarlett-5-6 {
type plug
slave {
pcm {
type route
slave {
pcm {
type dshare
ipc_key 71440625
slave {
pcm "hw:CARD=Gen,DEV=0"
channels 6
rate 48000
buffer_size 1024
period_size 512
}
bindings [ 4 5 ]
}
channels 2
}
ttable.0.0 1
ttable.1.1 1
}
channels 2
}
}

View File

@ -0,0 +1,2 @@
load-module module-alsa-sink sink_name=scarlett-1-2 device=scarlett-1-2 sink_properties="device.description='Scarlett Output 1-2'"
load-module module-alsa-sink sink_name=scarlett-3-4 device=scarlett-3-4 sink_properties="device.description='Scarlett Output 3-4'"

View File

@ -0,0 +1,3 @@
load-module module-alsa-sink sink_name=scarlett-1-2 device=scarlett-1-2 sink_properties="device.description='Scarlett Output 1-2'"
load-module module-alsa-sink sink_name=scarlett-3-4 device=scarlett-3-4 sink_properties="device.description='Scarlett Output 3-4'"
load-module module-alsa-sink sink_name=scarlett-5-6 device=scarlett-5-6 sink_properties="device.description='Scarlett Output 5-6'"