hifiberry / hifiberry-dsp

DSP toolkit
MIT License
138 stars 36 forks source link

Fix for broken DSP volume control #49

Closed RobisLV closed 1 year ago

RobisLV commented 1 year 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 1 year ago

Thank you for this PR