I have 2 problems that might be related, they both deal with the SoundCard.
Let me first tell you what I want to do before describing the problem.
I'm using a laptop that has a built-in speaker and a microphone, I use it a lot for audio conferencing everyday and obviously I need to mute the microphone many times during a conference (because of a parallel call phone for example, or many other reason that might arise during a conference). I don't have any LED indicator that tells me the microphone is muted or not, so I thought I could make my own indicator using the OSD feature of EG.
What I want is : I want to know the state of the microphone in a quick manner just by looking at my screen.
Problem #1 :
When I try to add the action "Get Mute Status" my SoundCard detects 3 Devices :
- Primary Sound Driver
- Speakers (Conexant 20585 SmartAudio HD)
- Internal Microphone (Conexant 20585 SmartAudio HD)
If I select any of them, they all give me the speaker state (muted or not muted), that means that when I select "Internal Microphone" it doesn't work, since it gives me the state of the speaker instead. This is very strange because EG is able to detect and list all the SoundCard devices correctly (speakers + microphone), but is unable to control the microphone status as expected... Does anyone know how to make this thing work ?
Problem #2 :
I observed this problem on a Desktop computer too (so it must be a general issue, not only with my laptop)
When I try to add the action "Set Master Volume" I get the following error right away ! and the action is not added of course.
If I add the action "Change Master Volume", this one is added as expected and is ready to use without any issues.10:06:42 Traceback (most recent call last) (1640):
10:06:42 File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
10:06:42 self.Configure(*args, **kwargs)
10:06:42 File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 165, in Configure
10:06:42 treeItem.Configure(*args)
10:06:42 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 101, in Configure
10:06:42 return self.executable.Configure(*args)
10:06:42 File "C:\Program Files (x86)\EventGhost\plugins\System\__init__.py", line 1046, in Configure
10:06:42 deviceCtrl = panel.Choice(deviceId, SoundMixer.GetMixerDevices())
10:06:42 File "C:\Program Files (x86)\EventGhost\eg\Classes\ControlProviderMixin.py", line 58, in Choice
10:06:42 return eg.Choice(self, value, choices, *args, **kwargs)
10:06:42 File "C:\Program Files (x86)\EventGhost\eg\Classes\Choice.py", line 33, in __init__
10:06:42 self, parent, -1, pos, size, choices, *args, **kwargs
10:06:42 File "wx\_controls.pyc", line 494, in __init__
10:06:42 TypeError: Sequence of strings expected.
I don't know if those 2 problems are related, but they both deal with the SoundCard, it looks like there is some reworking to do on this part.
Thank you in advance for any help you could provide.