You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been experiencing a bug with mopidy-alsamixer that occurs when you disable the onboard audio device on a raspberrypi.
The issue is in mixer.py, which assumes that audio devices start at 0. However, my external sound devicee gets ID 1, thus assuming IDs start at 0 breaks the mixer.
Sep 23 14:54:21 arcam mopidy[2684]: ERROR Mixer (AlsaMixer) initialization error: Could not find ALSA soundcard with index 1. Known soundcards include: 0 (DragonFly)
The list of my audio devices looks like:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: DragonFly [AudioQuest DragonFly], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Setting alsamixer/card = 0 would bypass mopidy-alsamixer's check completely and cause an ALSAAudioError as the ID is not actually present.
For now I commented out the marked lines in mixer.py (see above) to allow me to use card = 1 without having two cards in the system and everything is working as intended.
The text was updated successfully, but these errors were encountered:
Hey,
I have been experiencing a bug with mopidy-alsamixer that occurs when you disable the onboard audio device on a raspberrypi.
The issue is in mixer.py, which assumes that audio devices start at 0. However, my external sound devicee gets ID 1, thus assuming IDs start at 0 breaks the mixer.
The list of my audio devices looks like:
Setting
alsamixer/card = 0
would bypass mopidy-alsamixer's check completely and cause an ALSAAudioError as the ID is not actually present.For now I commented out the marked lines in mixer.py (see above) to allow me to use
card = 1
without having two cards in the system and everything is working as intended.The text was updated successfully, but these errors were encountered: