mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 21:47:04 +03:00
Forgot that scale is an int, not a float
This commit is contained in:
Binary file not shown.
@@ -142,7 +142,7 @@ sub build_modes {
|
|||||||
{ desc => ['VISUALIZER_SPECTRUM_ANALYZER_SMALL'],
|
{ desc => ['VISUALIZER_SPECTRUM_ANALYZER_SMALL'],
|
||||||
bar => 0, secs => 0, width => $width, _width => int -($spectrum->{small}->{size}*$width/100),
|
bar => 0, secs => 0, width => $width, _width => int -($spectrum->{small}->{size}*$width/100),
|
||||||
# extra parameters (width, height, col (< 0 = from right), row (< 0 = from bottom), left_space, bars)
|
# extra parameters (width, height, col (< 0 = from right), row (< 0 = from bottom), left_space, bars)
|
||||||
params => [$VISUALIZER_SPECTRUM_ANALYZER, int ($spectrum->{small}->{size}*$width/100), 32, int -($spectrum->{small}->{size}*$width/100), 0, 2, int ($spectrum->{small}->{size}/100*$width/$spectrum->{small}->{band}), $spectrum->{scale}/100] },
|
params => [$VISUALIZER_SPECTRUM_ANALYZER, int ($spectrum->{small}->{size}*$width/100), 32, int -($spectrum->{small}->{size}*$width/100), 0, 2, int ($spectrum->{small}->{size}/100*$width/$spectrum->{small}->{band}), $spectrum->{scale}] },
|
||||||
# mode 9
|
# mode 9
|
||||||
{ desc => ['VISUALIZER_VUMETER'],
|
{ desc => ['VISUALIZER_VUMETER'],
|
||||||
bar => 0, secs => 0, width => $width,
|
bar => 0, secs => 0, width => $width,
|
||||||
@@ -151,7 +151,7 @@ sub build_modes {
|
|||||||
{ desc => ['VISUALIZER_SPECTRUM_ANALYZER'],
|
{ desc => ['VISUALIZER_SPECTRUM_ANALYZER'],
|
||||||
bar => 0, secs => 0, width => $width,
|
bar => 0, secs => 0, width => $width,
|
||||||
# extra parameters (bars)
|
# extra parameters (bars)
|
||||||
params => [$VISUALIZER_SPECTRUM_ANALYZER, int ($width/$spectrum->{full}->{band}), $spectrum->{scale}/100] },
|
params => [$VISUALIZER_SPECTRUM_ANALYZER, int ($width/$spectrum->{full}->{band}), $spectrum->{scale}] },
|
||||||
# mode 11
|
# mode 11
|
||||||
{ desc => ['VISUALIZER_VUMETER', 'AND', 'ELAPSED'],
|
{ desc => ['VISUALIZER_VUMETER', 'AND', 'ELAPSED'],
|
||||||
bar => 0, secs => 1, width => $width,
|
bar => 0, secs => 1, width => $width,
|
||||||
@@ -160,7 +160,7 @@ sub build_modes {
|
|||||||
{ desc => ['VISUALIZER_SPECTRUM_ANALYZER', 'AND', 'ELAPSED'],
|
{ desc => ['VISUALIZER_SPECTRUM_ANALYZER', 'AND', 'ELAPSED'],
|
||||||
bar => 0, secs => 1, width => $width,
|
bar => 0, secs => 1, width => $width,
|
||||||
# extra parameters (bars)
|
# extra parameters (bars)
|
||||||
params => [$VISUALIZER_SPECTRUM_ANALYZER, int ($width/$spectrum->{full}->{band}), $spectrum->{scale}/100] },
|
params => [$VISUALIZER_SPECTRUM_ANALYZER, int ($width/$spectrum->{full}->{band}), $spectrum->{scale}] },
|
||||||
# mode 13
|
# mode 13
|
||||||
{ desc => ['VISUALIZER_VUMETER', 'AND', 'REMAINING'],
|
{ desc => ['VISUALIZER_VUMETER', 'AND', 'REMAINING'],
|
||||||
bar => 0, secs => -1, width => $width,
|
bar => 0, secs => -1, width => $width,
|
||||||
@@ -169,7 +169,7 @@ sub build_modes {
|
|||||||
{ desc => ['VISUALIZER_SPECTRUM_ANALYZER', 'AND', 'REMAINING'],
|
{ desc => ['VISUALIZER_SPECTRUM_ANALYZER', 'AND', 'REMAINING'],
|
||||||
bar => 0, secs => -1, width => $width,
|
bar => 0, secs => -1, width => $width,
|
||||||
# extra parameters (bars)
|
# extra parameters (bars)
|
||||||
params => [$VISUALIZER_SPECTRUM_ANALYZER, int ($width/$spectrum->{full}->{band}), $spectrum->{scale}/100] },
|
params => [$VISUALIZER_SPECTRUM_ANALYZER, int ($width/$spectrum->{full}->{band}), $spectrum->{scale}] },
|
||||||
);
|
);
|
||||||
|
|
||||||
return \@modes;
|
return \@modes;
|
||||||
|
|||||||
@@ -10,6 +10,6 @@
|
|||||||
<name>PLUGIN_SQUEEZEESP32</name>
|
<name>PLUGIN_SQUEEZEESP32</name>
|
||||||
<description>PLUGIN_SQUEEZEESP32_DESC</description>
|
<description>PLUGIN_SQUEEZEESP32_DESC</description>
|
||||||
<module>Plugins::SqueezeESP32::Plugin</module>
|
<module>Plugins::SqueezeESP32::Plugin</module>
|
||||||
<version>0.30</version>
|
<version>0.31</version>
|
||||||
<creator>Philippe</creator>
|
<creator>Philippe</creator>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<?xml version='1.0' standalone='yes'?>
|
<?xml version='1.0' standalone='yes'?>
|
||||||
<extensions>
|
<extensions>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin version="0.30" name="SqueezeESP32" minTarget="7.5" maxTarget="*">
|
<plugin version="0.31" name="SqueezeESP32" minTarget="7.5" maxTarget="*">
|
||||||
<link>https://github.com/sle118/squeezelite-esp32</link>
|
<link>https://github.com/sle118/squeezelite-esp32</link>
|
||||||
<creator>Philippe</creator>
|
<creator>Philippe</creator>
|
||||||
<sha>a110570f53f24c571492b13cf225cbfd1bdf9a52</sha>
|
<sha>6dc35a0f9f9b287d205f7532cbb642b08407a284</sha>
|
||||||
<email>philippe_44@outlook.com</email>
|
<email>philippe_44@outlook.com</email>
|
||||||
<desc lang="EN">SqueezeESP32 additional player id (100)</desc>
|
<desc lang="EN">SqueezeESP32 additional player id (100)</desc>
|
||||||
<url>http://github.com/sle118/squeezelite-esp32/raw/master/plugin/SqueezeESP32.zip</url>
|
<url>http://github.com/sle118/squeezelite-esp32/raw/master/plugin/SqueezeESP32.zip</url>
|
||||||
|
|||||||
Reference in New Issue
Block a user