Skip to content

Instantly share code, notes, and snippets.

@gavrix
Created April 8, 2018 00:55
Show Gist options
  • Save gavrix/ef15d46434c0e083fff53653cba55210 to your computer and use it in GitHub Desktop.
Save gavrix/ef15d46434c0e083fff53653cba55210 to your computer and use it in GitHub Desktop.
pcm.!default {
type plug
slave.pcm {
type dmix
ipc_key 1024
slave {
pcm "plughw:0,0"
rate 48000 # this line is only needed for USB DACs which only support 48khz
period_time 0
period_size 1920
buffer_size 19200
}
}
}
ctl.!default {
type hw
card 0
}
ctl.equal {
type equal
}
pcm.plugequal {
type equal
slave.pcm "plughw:0,0"
#slave.pcm "plug:dmix"
}
pcm.equal{
type plug
slave.pcm plugequal
}
ctl.equal1 {
type equal
library "/usr/lib/ladspa/mbeq_1197.so"
module "mbeq"
}
pcm.equal1 {
type plug
slave.pcm plugequal1
}
pcm.plugequal1 {
type equal
slave.pcm "plughw:0,0"
#slave.pcm "plug:dmix"
library "/usr/lib/ladspa/mbeq_1197.so"
module "mbeq"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment