![]() |
#1 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 496
|
volumebyregion & volumeknob drop volume
The attached skin calls volumebyregion.maki in main mode and volumeknob.maki in shade mode. When I switch to this skin, the volume drops. Also, if I start Winamp with this skin, the volume starts low.
What causes this drop and how can it be fixed? |
![]() |
![]() |
![]() |
#2 |
Quinto Black CT Developer
Join Date: Sep 2016
Posts: 589
|
I cannot reproduce your issues - volume is fine while switching to shade mode and back or starting with this skin, which, by the way, would look really great on a high-res display if it was twice as big.
|
![]() |
![]() |
![]() |
#3 | ||
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 496
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#4 |
Quinto Black CT Developer
Join Date: Sep 2016
Posts: 589
|
Quinto's volume at 100 % and switched to Venom. Also 100 %.
|
![]() |
![]() |
![]() |
#5 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 496
|
Thanks for testing it. Then it is probably some weird, hardware related issue.
|
![]() |
![]() |
![]() |
#6 |
Late skinner & Moderator
Join Date: May 2003
Location: Argentina
Posts: 1,608
|
I'm seeing this issue too, is not just you Ariszlo.
|
![]() |
![]() |
![]() |
#7 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 496
|
Thanks, Victhor!
Meanwhile, I have found the culprit. If I comment this out in player-normal.xml then Venom will properly keep the volume level: PHP Code:
|
![]() |
![]() |
![]() |
#8 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 496
|
This is what electricity.maki does:
If the boost button is pressed then the volume is raised to 255 (= 100%). If it is unpressed then it is lowered to 50 (= 20%). How do you modifiy the script to
|
![]() |
![]() |
![]() |
#9 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 496
|
Getting there. Below is how I edited electricity.m. Now, if I toggle boost on then volume goes up to 100% as expected. If I toggle it off then it returns to the original level. So far so good. If I switch skins or quit Winamp while boost is off then volume is preserved fine. However, if I switch skins or quit Winamp while boost is on then the boost level (= 100%) is saved, not the original level.
What do I need to add to the script to toggle boost of before switching skins or quitting Winamp? PHP Code:
|
![]() |
![]() |
![]() |
#11 |
Senior Member
Join Date: Jun 2015
Location: Hungary
Posts: 496
|
Even though I am not going to fix what is not broken and leave electricity.m as it is, I am really curious to know if it is possible to automatically toggle off a button when closing Winamp or switching to another skin.
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|