mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-26 06:40:33 +00:00
feat(legion): Add DSP
This commit is contained in:
parent
d2e6e39df1
commit
5331671e61
@ -0,0 +1,57 @@
|
||||
context.spa-libs = {
|
||||
audio.convert.* = audioconvert/libspa-audioconvert
|
||||
support.* = support/libspa-support
|
||||
}
|
||||
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-filter-chain
|
||||
args = {
|
||||
node.name = "filter-chain-sink"
|
||||
node.description = "Filter Chain Sink"
|
||||
media.name = "Filter Chain Sink"
|
||||
filter.graph = {
|
||||
nodes = [
|
||||
{
|
||||
type = builtin
|
||||
label = convolver
|
||||
name = convFL
|
||||
config = {
|
||||
filename = "/usr/share/pipewire/hardware-profiles/LENOVO-83E1/multiwayCor48.wav"
|
||||
channel = 0
|
||||
}
|
||||
}
|
||||
{
|
||||
type = builtin
|
||||
label = convolver
|
||||
name = convFR
|
||||
config = {
|
||||
filename = "/usr/share/pipewire/hardware-profiles/LENOVO-83E1/multiwayCor48.wav"
|
||||
channel = 1
|
||||
}
|
||||
}
|
||||
]
|
||||
links = [
|
||||
|
||||
]
|
||||
|
||||
}
|
||||
capture.props = {
|
||||
node.name = "filter-chain-sink"
|
||||
media.class = Audio/Sink
|
||||
audio.channels = 2
|
||||
audio.position = [ FL FR ]
|
||||
filter.smart = true
|
||||
filter.smart.name = filter-chain-sink
|
||||
filter.smart.target = { media.class = Audio/Sink, alsa.card_name = "HD-Audio Generic", device.profile.description = "Analog Stereo" }
|
||||
filter.smart.after = [ virtual-sink ]
|
||||
}
|
||||
playback.props = {
|
||||
node.name = "filter-chain-playback"
|
||||
node.passive = true
|
||||
audio.channels = 2
|
||||
audio.position = [ FL FR ]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Binary file not shown.
@ -0,0 +1,22 @@
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-loopback
|
||||
args = {
|
||||
node.name = virtual-sink
|
||||
node.description = "Virtual Sink"
|
||||
capture.props = {
|
||||
audio.position = [ FL FR ]
|
||||
media.class = Audio/Sink
|
||||
filter.smart = true
|
||||
filter.smart.name = virtual-sink
|
||||
filter.smart.before = [ filter-chain-sink ]
|
||||
}
|
||||
playback.props = {
|
||||
audio.position = [ FL FR ]
|
||||
node.passive = true
|
||||
stream.dont-remix = true
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user