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: 1208405" data-attributes="member: 17766"><p>Trying out this solution atm which dynamically re-attaches the volume handler to the right audio renderer and restores it on playback stop:</p><p></p><p><a href="https://github.com/RickDB/MediaPortal-1/commit/b93a52910b9d42b1e8c7b1fc40f672dfc0ba385d" target="_blank">https://github.com/RickDB/MediaPortal-1/commit/b93a52910b9d42b1e8c7b1fc40f672dfc0ba385d</a></p><p></p><p><a href="https://github.com/RickDB/MediaPortal-1/commit/f9571b97f117f61c90fe5740a0370f2934f6910c" target="_blank">https://github.com/RickDB/MediaPortal-1/commit/f9571b97f117f61c90fe5740a0370f2934f6910c</a></p><p></p><p>Mediaportal.cs seems a bit fussy in VS2015, keeps reporting formatting errors (line endings) but even when accepting keep coming back (hench the crazy diffs) <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite9" alt=":eek:" title="Eek! :eek:" loading="lazy" data-shortname=":eek:" /></p><p>Think I might need to do a clean branch without ReSharper as otherwise gonna look weird on Git.</p><p></p><p></p><p>// Update</p><p></p><p>Few more changes, made it completely rely on Filter events now so we handle multiple cases and works great so far <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>Will change volume of device user has setup in Mediaportal config for video / music / tv etc..</p><p></p><p>Think this should do it but needs review / testing, [USER=60104]@Sebastiii[/USER] let me know if you would prefer a clean branch without code corrections by ReSharper for Mediaportal.cs.</p></blockquote><p></p>
[QUOTE="Rick164, post: 1208405, member: 17766"] Trying out this solution atm which dynamically re-attaches the volume handler to the right audio renderer and restores it on playback stop: [URL]https://github.com/RickDB/MediaPortal-1/commit/b93a52910b9d42b1e8c7b1fc40f672dfc0ba385d[/URL] [URL]https://github.com/RickDB/MediaPortal-1/commit/f9571b97f117f61c90fe5740a0370f2934f6910c[/URL] Mediaportal.cs seems a bit fussy in VS2015, keeps reporting formatting errors (line endings) but even when accepting keep coming back (hench the crazy diffs) :eek: Think I might need to do a clean branch without ReSharper as otherwise gonna look weird on Git. // Update Few more changes, made it completely rely on Filter events now so we handle multiple cases and works great so far :) Will change volume of device user has setup in Mediaportal config for video / music / tv etc.. Think this should do it but needs review / testing, [USER=60104]@Sebastiii[/USER] let me know if you would prefer a clean branch without code corrections by ReSharper for Mediaportal.cs. [/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