remu kelly
2017-05-09 14:11:57 UTC
Hi,
I need to implement a rate converter after dmix, means dmix will mix 3
channels as input, and the output will be of 48KHz, but then i need to
convert it to 96KHz output and send to HW.
How this can be achieved, seeing that we can't have a plugin after dmix.
or we can do somethings like below:-
pcm.sl1{
type hw
card 0
device 0
}
pcm_slave.sl2 {
pcm sl1
rate 96000
}
pcm.mix1{
type dmix
ipc_key 1024
slave sl2
}
pcm_slave.sl3{
pcm mix1
}
pcm.play{
type plug
slave sl3
rate_converter "myconverter"
}
here rate converter "myconverter" will be specific to my audio HW.
is the above config allowed?
Regards
I need to implement a rate converter after dmix, means dmix will mix 3
channels as input, and the output will be of 48KHz, but then i need to
convert it to 96KHz output and send to HW.
How this can be achieved, seeing that we can't have a plugin after dmix.
or we can do somethings like below:-
pcm.sl1{
type hw
card 0
device 0
}
pcm_slave.sl2 {
pcm sl1
rate 96000
}
pcm.mix1{
type dmix
ipc_key 1024
slave sl2
}
pcm_slave.sl3{
pcm mix1
}
pcm.play{
type plug
slave sl3
rate_converter "myconverter"
}
here rate converter "myconverter" will be specific to my audio HW.
is the above config allowed?
Regards