hifiberry / hifiberry-dsp

DSP toolkit
MIT License
143 stars 36 forks source link

Fix for broken DSP volume control #49

Closed RobisLV closed 2 years ago

RobisLV commented 2 years ago

Fix for broken DSP volume control. Adding get_dsp_mixer() to get mixer by name (in this case DSPVolume). Without this alsaaudio is looking for mixer under card 0 by default and fails whenever DAC DSP card is not device 0.

I have tested it on volumio 3.378, Raspberry Pi 3 B+, hifiberry-dsp version 0.20 and Hifiberry DAC DSP v1.3.

Issue: https://github.com/hifiberry/hifiberry-dsp/issues/39

hifiberry commented 2 years ago

Thank you for this PR