Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Unable to adjust balance via alsa
#7
(07-15-2021, 12:33 PM)Tim Curtis Wrote: It's prolly the use of parenthesis by the vendor in the mixer name thats causing an issue in the code that parses the mixer name "iFi (by AMR) HD USB Audio"

What is output from command below?

Code:
sudo /var/www/command/util.sh get-mixername

pi@moode:~ $ sudo /var/www/command/util.sh get-mixername
(iFi (by AMR) HD USB Audio )                                                                                                                                              
(iFi (by AMR) HD USB Audio )                                                                                                                                              
pi@moode:~ $

Don't know if it is significant that this is different to both the MPD name and the Alsamixer name;
20210715 130827 worker: MPD audio output (iFi (by AMR) HD USB Audio) - No space before final bracket ?
20210715 130828 worker: ALSA mixer name (iFi by AMR HD USB Audio ) - Space before final bracket but no brackets around "by AMR"

The error "Unable to find simple control 'iFi by AMR HD USB Audio ',0" does look to be because the brackets are missing around "by AMR";
pi@moode:~ $ amixer -c 2 scontrols
Simple mixer control 'iFi (by AMR) HD USB Audio ',0
Simple mixer control 'iFi (by AMR) HD USB Audio ',1
Reply


Messages In This Thread
Unable to adjust balance via alsa - by PieEater - 07-14-2021, 07:11 PM
RE: Unable to adjust balance via alsa - by DRONE7 - 07-15-2021, 02:15 AM
RE: Unable to adjust balance via alsa - by PieEater - 07-15-2021, 01:25 PM

Forum Jump: