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
{{ message }}
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
What steps will reproduce the problem?
1. Start volti systray icon in a terminal
2. Open preferences
OR
1. Start volti-mixer in a terminal
What is the expected output? What do you see instead?
The expected output in the terminal is nothing, instead I get an
alsaaudio.ALSAAudioError exception. In the preferences, no ALSA cards or
mixers are shown.
What version of the product are you using? On what operating system?
volti-0.2.3 on Gentoo with TuxOnIce kernel 2.6.35-r8
Please provide any additional information below.
The problem occurs because one of the cards identified by ALSA has no mixers.
Here is the output from python:
>>> import alsaaudio as alsa
>>> alsa.cards()
[u'Intel', u'ThinkPadEC']
>>> alsa.mixers()
[u'Master', u'IEC958', u'IEC958 Default PCM', u'Docking Mic', u'External Mic',
u'Internal Mic']
All the mixer controls belong to the first card, and none to the second. If I
attempt to retrieve the mixers for the second card:
>>> alsa.mixers(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
alsaaudio.ALSAAudioError: No such file or directory
I am attaching a patch that resolves this problem by skipping such problematic
cards.
Original issue reported on code.google.com by hypno...@gmail.com on 7 Feb 2011 at 8:24
Original issue reported on code.google.com by
hypno...@gmail.com
on 7 Feb 2011 at 8:24Attachments:
The text was updated successfully, but these errors were encountered: