- January 7, 2006
- 1,335
- 1,006
- Home Country
- Netherlands
Hi,
Been debugging an issue with @Virtual in the AudioSwitcher topic and is as follows:
- Start Mediaportal with volume control set to master:
- Test out volume control via keyboard for instance ( + -), will notice your audio device changing volume from sys tray.
- Let Mediaportal run and change your default Windows audio device to something else either via AudioSwitcher plugin or Windows sound panel.
- Test out volume control via keyboard, will notice your volume changing on your old Windows audio device instead and keep the current one as-is.
Now so far it can be inconsistent and looking over the code below can't find any red flags, best guess is that we only set the audio device on startup and hook that up to volume control but don't check for changes afterwards (during volume events).
While it works fine during playback you do lose Mediaportal volume control, anyone have any idea what is causing this?
https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/Player/VolumeHandler.cs
Added Installer to Jira : https://issues.team-mediaportal.com/browse/MP1-4838
Thanks @Rick164
Been debugging an issue with @Virtual in the AudioSwitcher topic and is as follows:
- Start Mediaportal with volume control set to master:
- Test out volume control via keyboard for instance ( + -), will notice your audio device changing volume from sys tray.
- Let Mediaportal run and change your default Windows audio device to something else either via AudioSwitcher plugin or Windows sound panel.
- Test out volume control via keyboard, will notice your volume changing on your old Windows audio device instead and keep the current one as-is.
Now so far it can be inconsistent and looking over the code below can't find any red flags, best guess is that we only set the audio device on startup and hook that up to volume control but don't check for changes afterwards (during volume events).
While it works fine during playback you do lose Mediaportal volume control, anyone have any idea what is causing this?
https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/Core/Player/VolumeHandler.cs
Added Installer to Jira : https://issues.team-mediaportal.com/browse/MP1-4838
Thanks @Rick164
Last edited by a moderator: