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
Codecs, External Players
Volume Control with Winamp - No effect
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: 1164913" data-attributes="member: 82144"><p>Nice. <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>For the record...</p><p>I made a few modifications to the Winamp plugin code to make it more compatible with modern versions of Winamp. Even after making those modifications, adjusting the volume in MediaPortal did not trigger a corresponding volume adjustment in Winamp. After more digging, I discovered that the MediaPortal core player is simply not telling the plugin to change volume.</p><p></p><p>In technical terms that [USERGROUP=39]@Developers[/USERGROUP] might understand: it appears that g_Player.Volume is completely isolated and disconnected from the Mixer and VolumeHandler volume adjustments. If I'm right, it would seem that g_Player.Volume actually does and controls absolutely nothing. Anybody know how it is meant to work?</p><p></p><p>P.S. My modified WinampController.cs code is attached in case anybody wants to pursue this further. Main changes:</p><ul> <li data-xf-list-type="ul">use C# process class to find the Winamp window or start it - more straightforward and reliable than using native functions to match a specific window name<br /> </li> <li data-xf-list-type="ul">look for winamp.ini in the correct location (this is why Winamp was starting on top of MediaPortal in Jordan83's previous thread)</li> <li data-xf-list-type="ul">scale the volume value correctly</li> </ul></blockquote><p></p>
[QUOTE="mm1352000, post: 1164913, member: 82144"] Nice. :) For the record... I made a few modifications to the Winamp plugin code to make it more compatible with modern versions of Winamp. Even after making those modifications, adjusting the volume in MediaPortal did not trigger a corresponding volume adjustment in Winamp. After more digging, I discovered that the MediaPortal core player is simply not telling the plugin to change volume. In technical terms that [USERGROUP=39]@Developers[/USERGROUP] might understand: it appears that g_Player.Volume is completely isolated and disconnected from the Mixer and VolumeHandler volume adjustments. If I'm right, it would seem that g_Player.Volume actually does and controls absolutely nothing. Anybody know how it is meant to work? P.S. My modified WinampController.cs code is attached in case anybody wants to pursue this further. Main changes: [LIST] [*]use C# process class to find the Winamp window or start it - more straightforward and reliable than using native functions to match a specific window name [*]look for winamp.ini in the correct location (this is why Winamp was starting on top of MediaPortal in Jordan83's previous thread) [*]scale the volume value correctly [/LIST] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Codecs, External Players
Volume Control with Winamp - No effect
Contact us
RSS
Top
Bottom