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: 1208238" data-attributes="member: 17766"><p>Pushed some more changes and is pretty complete and no bugs (so far) with both internal or external volume control, added some step translation as well for external volume control.</p><p></p><p></p><p></p><p>Changed to better method here:<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p><a href="https://github.com/RickDB/MediaPortal-1/commit/9fe02668ffea798a62b5a94ac0cb602e36abda43" target="_blank">https://github.com/RickDB/MediaPortal-1/commit/9fe02668ffea798a62b5a94ac0cb602e36abda43</a></p><p></p><p></p><p></p><p>Easy to do with the current library and its DeviceChanged event I think:</p><p></p><p><a href="https://github.com/RickDB/MediaPortal-1/blob/DEV-AudioImprovements/mediaportal/Core/Mixer/Mixer.cs#L130" target="_blank">https://github.com/RickDB/MediaPortal-1/blob/DEV-AudioImprovements/mediaportal/Core/Mixer/Mixer.cs#L130</a></p><p></p><p>any idea where we check for device removal at the moment?</p><p></p><p>Another question:</p><p></p><p>- Which device do we tie up to volume OSD control?</p><p></p><p>Currently I use the default audio renderer (Windows default playback) as in Mediaportal configuration there's no way of selecting which one you want to use for that, I would assume the one used in Video area however they might have a different one for Audio.</p><p>So we could somehow read that during Player.IsPlaying() (can't find how though) or keep as-is.</p><p></p><p>First time around Mediaportal code this deep so please let me know if it's alright <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>Made it so that we can swap it out for the Audio library [USER=140174]@Stéphane Lenclud[/USER] suggested but first wanted to work with something I know well enough.</p></blockquote><p></p>
[QUOTE="Rick164, post: 1208238, member: 17766"] Pushed some more changes and is pretty complete and no bugs (so far) with both internal or external volume control, added some step translation as well for external volume control. Changed to better method here::) [URL]https://github.com/RickDB/MediaPortal-1/commit/9fe02668ffea798a62b5a94ac0cb602e36abda43[/URL] Easy to do with the current library and its DeviceChanged event I think: [URL]https://github.com/RickDB/MediaPortal-1/blob/DEV-AudioImprovements/mediaportal/Core/Mixer/Mixer.cs#L130[/URL] any idea where we check for device removal at the moment? Another question: - Which device do we tie up to volume OSD control? Currently I use the default audio renderer (Windows default playback) as in Mediaportal configuration there's no way of selecting which one you want to use for that, I would assume the one used in Video area however they might have a different one for Audio. So we could somehow read that during Player.IsPlaying() (can't find how though) or keep as-is. First time around Mediaportal code this deep so please let me know if it's alright :) Made it so that we can swap it out for the Audio library [USER=140174]@Stéphane Lenclud[/USER] suggested but first wanted to work with something I know well enough. [/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