home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Audio Switcher - easily change audio device via context menu (using remote key)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rick164" data-source="post: 1207586" data-attributes="member: 17766"><p>Thanks, added these lines to code right after changing of device for testing:</p><p></p><p>[code] </p><p>VolumeHandler.Dispose();</p><p>VolumeHandler.CreateInstance();</p><p>[/code]</p><p></p><p>But that doesn't seem to help, best guess would be audio devices connected doesn't update on its own:</p><p></p><p><a href="https://github.com/MediaPortal/MediaPortal-1/blob/ff4edb5f3612e397136971c4a3a57a2aa2ffcfc8/mediaportal/Core/Player/VolumeHandler.cs" target="_blank">https://github.com/MediaPortal/MediaPortal-1/blob/ff4edb5f3612e397136971c4a3a57a2aa2ffcfc8/mediaportal/Core/Player/VolumeHandler.cs</a></p><p></p><p>// Update</p><p></p><p>Remains working here with public release even when switching back and forth audio devices, makes me think it's that hide volume OSD toggle we have in settings.</p><p></p><p>[USER=160722]@Virtual[/USER]</p><p></p><p>Could you re-test with the following settings:</p><p></p><p> [ATTACH=full]185718[/ATTACH]</p><p></p><p>[ATTACH=full]185717[/ATTACH]</p></blockquote><p></p>
[QUOTE="Rick164, post: 1207586, member: 17766"] Thanks, added these lines to code right after changing of device for testing: [code] VolumeHandler.Dispose(); VolumeHandler.CreateInstance(); [/code] But that doesn't seem to help, best guess would be audio devices connected doesn't update on its own: [URL]https://github.com/MediaPortal/MediaPortal-1/blob/ff4edb5f3612e397136971c4a3a57a2aa2ffcfc8/mediaportal/Core/Player/VolumeHandler.cs[/URL] // Update Remains working here with public release even when switching back and forth audio devices, makes me think it's that hide volume OSD toggle we have in settings. [USER=160722]@Virtual[/USER] Could you re-test with the following settings: [ATTACH=full]185718[/ATTACH] [ATTACH=full]185717[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Audio Switcher - easily change audio device via context menu (using remote key)
Contact us
RSS
Top
Bottom