Normal
[USER=10391]@hwahrmann[/USER]In BASS Documentation:[code=csharp]public static double LevelToDB( int level, int maxLevel)[/code]Ie result of LevelToDB from -infinite to 0, but in MP code: MediaPortal-1/BassAudioEngine.cs at master · MediaPortal/MediaPortal-1 · GitHub and MediaPortal-1/GUIMusicPlayingNow.cs at master · MediaPortal/MediaPortal-1 · GitHubif ((int) dbLevelL < -15) ... ((int) dbLevelL < 3) and else { file = "VU15.png"; }The pictures (VU12, VU13, VU14, VU15) should not be visible. Because they compare with a value greater than zero.I do not read the documentation correctly? Or am I missing something?PS: Thank you for the clarification.
[USER=10391]@hwahrmann[/USER]
In BASS Documentation:
[code=csharp]public static double LevelToDB(
int level,
int maxLevel
)[/code]
Ie result of LevelToDB from -infinite to 0, but in MP code: MediaPortal-1/BassAudioEngine.cs at master · MediaPortal/MediaPortal-1 · GitHub and MediaPortal-1/GUIMusicPlayingNow.cs at master · MediaPortal/MediaPortal-1 · GitHub
if ((int) dbLevelL < -15) ... ((int) dbLevelL < 3) and else { file = "VU15.png"; }
The pictures (VU12, VU13, VU14, VU15) should not be visible. Because they compare with a value greater than zero.
I do not read the documentation correctly? Or am I missing something?
PS: Thank you for the clarification.