We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d493cc commit ecba4dcCopy full SHA for ecba4dc
audioControls.py
@@ -39,8 +39,7 @@ def get_instance(cls):
39
return cls._instance
40
41
def __init__(self):
42
- self.mixer = alsaaudio.Mixer('PCM', cardindex=1)
43
- #self.mixer = alsaaudio.PCM(device='numid=1', cardindex=1)
+ self.mixer = alsaaudio.Mixer('Headphone')
44
45
def getVolume(self):
46
print(self.mixer.getvolume())
0 commit comments