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="Rick164" data-source="post: 1208452" data-attributes="member: 17766"><p>Includes all of the work but in one commit for easy viewing <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> , in the old branch ReSharper went a bit crazy (reformated a few files) so reverted it to master then manually merged some of the changes.</p><p>Here's a list for changelog:</p><p></p><p>- Included AudioSwitcher API for device and volume control</p><p>- Volume control now listens on same device as Audio Renderer, handled in filter events as this looked like like the best place for a catch all</p><p>- On a audio device disconnected state we check if it was indeed our Audio Renderer device where we started playback with and if so stop if user has setting "stopOnAudioRenderLoss"</p><p>- Enumeration of audio devices in Mediaportal application -> Mediaportal.cs updated to use AudioSwitcher</p><p>- Reworked mixer and volume handler completely and made it much simpler and faster (async + less hops in code), optionally allows for further expansion but think it's a good start</p><p></p><p>Did leave some stuff in mixer and volume handler for legacy purposes in case some external plugins calls specific parts, for sure needs thorough testing as this is a pretty important part of Mediaportal.</p><p>So maybe for 1.17 unless you guys think we have enough time to test it properly <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Rick164, post: 1208452, member: 17766"] Includes all of the work but in one commit for easy viewing :) , in the old branch ReSharper went a bit crazy (reformated a few files) so reverted it to master then manually merged some of the changes. Here's a list for changelog: - Included AudioSwitcher API for device and volume control - Volume control now listens on same device as Audio Renderer, handled in filter events as this looked like like the best place for a catch all - On a audio device disconnected state we check if it was indeed our Audio Renderer device where we started playback with and if so stop if user has setting "stopOnAudioRenderLoss" - Enumeration of audio devices in Mediaportal application -> Mediaportal.cs updated to use AudioSwitcher - Reworked mixer and volume handler completely and made it much simpler and faster (async + less hops in code), optionally allows for further expansion but think it's a good start Did leave some stuff in mixer and volume handler for legacy purposes in case some external plugins calls specific parts, for sure needs thorough testing as this is a pretty important part of Mediaportal. So maybe for 1.17 unless you guys think we have enough time to test it properly :) [/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