mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed that the "SetVolume 100" bang didn't work with Winamp.
This commit is contained in:
@ -417,7 +417,7 @@ void CPlayerWinamp::SetRating(int rating)
|
||||
*/
|
||||
void CPlayerWinamp::SetVolume(int volume)
|
||||
{
|
||||
if (volume) ++volume; // For proper scaling
|
||||
if (volume > 0 && volume < 100) ++volume; // For proper scaling
|
||||
|
||||
// Winamp accepts volume in 0 - 255 range
|
||||
volume *= 255;
|
||||
|
Reference in New Issue
Block a user