You are not logged in.
Hello,
Does anyone know how to get Deadbeef to use PCM alsa mixer instead of it's internal audio software mixer?
Last edited by diffycat (2014-09-01 16:43:18)
Offline
You mean dmix?
Offline
Have you ever seen such a setup? I see nothing in deadbeefs configuration [file] or './configure --help' in its sources. Only basic alsa support. Deadbeef can 'take control' over a device, when the output is a softvol referencing to PCM as control name on the appropriate sound card and possibly limit the volume slider, but that is how far I got it.
Creating a script that would watch deadbeef volume and change PCM or whatever you specify using amixer. The problem is getting deadbeefs volume. Now-playing switch does not seems to provide that.
Offline
Have you ever seen such a setup?
No. That's why I'm asking.
Creating a script that would watch deadbeef volume and change PCM or whatever you specify using amixer. The problem is getting deadbeefs volume. Now-playing switch does not seems to provide that.
I can get volume level with mpris-plugin. The only problem is that it crashes with current ddb version.
Offline
Well when it does, something similar to this should satisfy your needs:
while :; do
amixer -q sset PCM $(($(mpris-remote volume)*255/100));
sleep .5;
doneEdit: Used mpris-remote volume instead of playerctl.
Edit2: Added -q to amixer.
Last edited by emeres (2014-08-31 23:13:30)
Offline
Ok, I've managed to start mpris-plugin (build it from previous repository). For some unknown reason playerctl always shows volume level as 0. But mpris-remote works fine: https://aur.archlinux.org/packages/mpris-remote-git/
Offline
The above works for me, PCM is being 'controlled', ergo readjusted to the level of deadbeef. You may want to recalibrate it to your hardware/needs.
I would suggest however, that you ask the developer[s] to implement something like this or try doing it yourself and then propose it then.
Should you consider this issue solved, then please mark the thread as such.
Offline