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
Support
General Support
[MP1-4838] Volume control no longer functions properly when changing audio device
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="mm1352000" data-source="post: 1208031" data-attributes="member: 82144"><p>[USER=17766]@Rick164[/USER] </p><p>If you're going down the path of investigating proper handling for audio device changes, I think our current code that tracks audio device connection/disconnection could do with a bit of love. Specifically:</p><ul> <li data-xf-list-type="ul">Find an alternative way to enumerate audio devices at startup that doesn't require DirectShow (ie. replace --><a href="https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/MediaPortal.Application/MediaPortal.cs#L3099-L3128" target="_blank">this</a><--)</li> <li data-xf-list-type="ul">When an audio device is removed, detect whether that device was being used as the audio renderer for the playing media. Only stop playback if the device is being used. It might be possible to detect this better with a completely different method such as with <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd375625(v=vs.85).aspx" target="_blank">DirectShow graph events</a> (eg. <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd319488(v=vs.85).aspx" target="_blank">this one</a>).</li> </ul></blockquote><p></p>
[QUOTE="mm1352000, post: 1208031, member: 82144"] [USER=17766]@Rick164[/USER] If you're going down the path of investigating proper handling for audio device changes, I think our current code that tracks audio device connection/disconnection could do with a bit of love. Specifically: [LIST] [*]Find an alternative way to enumerate audio devices at startup that doesn't require DirectShow (ie. replace -->[URL='https://github.com/MediaPortal/MediaPortal-1/blob/master/mediaportal/MediaPortal.Application/MediaPortal.cs#L3099-L3128']this[/URL]<--) [*]When an audio device is removed, detect whether that device was being used as the audio renderer for the playing media. Only stop playback if the device is being used. It might be possible to detect this better with a completely different method such as with [URL='https://msdn.microsoft.com/en-us/library/windows/desktop/dd375625(v=vs.85).aspx']DirectShow graph events[/URL] (eg. [URL='https://msdn.microsoft.com/en-us/library/windows/desktop/dd319488(v=vs.85).aspx']this one[/URL]). [/LIST] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
[MP1-4838] Volume control no longer functions properly when changing audio device
Contact us
RSS
Top
Bottom