mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-07 07:30:02 +01:00
Eliminate compiler warning
This commit is contained in:
parent
122b08b2ca
commit
6a57544b2a
@ -508,6 +508,7 @@ and estimates the BPM rate:</p>
|
|||||||
the script support now "--enable-x86-optimizations" switch to allow disabling x86-specific optimizations.</li>
|
the script support now "--enable-x86-optimizations" switch to allow disabling x86-specific optimizations.</li>
|
||||||
<li>Revised #define conditions for 32bit/64bit compatibility</li>
|
<li>Revised #define conditions for 32bit/64bit compatibility</li>
|
||||||
<li>gnu autoconf/automake script compatibility fixes</li>
|
<li>gnu autoconf/automake script compatibility fixes</li>
|
||||||
|
<li>Tuned beat-per-minute detection algorithm</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><b>1.6.0:</b></p>
|
<p><b>1.6.0:</b></p>
|
||||||
<ul>
|
<ul>
|
||||||
@ -643,7 +644,7 @@ accessing the FIFOSampleBuffer class from external files. </li>
|
|||||||
<p><b>1.7.0:</b></p>
|
<p><b>1.7.0:</b></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Bugfixes in Wavfile: exception string formatting, avoid getLengthMs() integer
|
<li>Bugfixes in Wavfile: exception string formatting, avoid getLengthMs() integer
|
||||||
precision overflow</li>
|
precision overflow, support WAV files using 24/32bit sample format.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p><b>1.5.0:</b></p>
|
<p><b>1.5.0:</b></p>
|
||||||
<ul>
|
<ul>
|
||||||
@ -718,6 +719,7 @@ submitted bugfixes since SoundTouch v1.3.1: </p>
|
|||||||
<li> RJ Ryan </li>
|
<li> RJ Ryan </li>
|
||||||
<li> John Sheehy</li>
|
<li> John Sheehy</li>
|
||||||
<li> Tim Shuttleworth</li>
|
<li> Tim Shuttleworth</li>
|
||||||
|
<li> Katja Vetter</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Moral greetings to all other contributors and users also!</p>
|
<p>Moral greetings to all other contributors and users also!</p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|||||||
@ -192,7 +192,7 @@ double PeakFinder::getPeakCenter(const float *data, int peakpos) const
|
|||||||
gp1 = findGround(data, peakpos, -1);
|
gp1 = findGround(data, peakpos, -1);
|
||||||
gp2 = findGround(data, peakpos, 1);
|
gp2 = findGround(data, peakpos, 1);
|
||||||
|
|
||||||
groundLevel = 0.5 * (data[gp1] + data[gp2]);
|
groundLevel = 0.5f * (data[gp1] + data[gp2]);
|
||||||
peakLevel = data[peakpos];
|
peakLevel = data[peakpos];
|
||||||
|
|
||||||
// calculate 70%-level of the peak
|
// calculate 70%-level of the peak
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user