mirror of
https://github.com/RPCS3/soundtouch.git
synced 2024-11-09 20:33:03 +01:00
Remove trivially unused variables, as pointed out by -Wunused-variable
cherry-picked from https://gitlab.com/serge-sans-paille/soundtouch/-/tree/fix/remove-unused-variables
This commit is contained in:
parent
29fba832a7
commit
4bcbb3556f
@ -376,8 +376,6 @@ void BPMDetect::updateBeatPos(int process_samples)
|
|||||||
// detect beats
|
// detect beats
|
||||||
for (int i = 0; i < skipstep; i++)
|
for (int i = 0; i < skipstep; i++)
|
||||||
{
|
{
|
||||||
LONG_SAMPLETYPE max = 0;
|
|
||||||
|
|
||||||
float sum = beatcorr_ringbuff[beatcorr_ringbuffpos];
|
float sum = beatcorr_ringbuff[beatcorr_ringbuffpos];
|
||||||
sum -= beat_lpf.update(sum);
|
sum -= beat_lpf.update(sum);
|
||||||
|
|
||||||
|
@ -131,8 +131,6 @@ void RateTransposer::putSamples(const SAMPLETYPE *samples, uint nSamples)
|
|||||||
// the 'set_returnBuffer_size' function.
|
// the 'set_returnBuffer_size' function.
|
||||||
void RateTransposer::processSamples(const SAMPLETYPE *src, uint nSamples)
|
void RateTransposer::processSamples(const SAMPLETYPE *src, uint nSamples)
|
||||||
{
|
{
|
||||||
uint count;
|
|
||||||
|
|
||||||
if (nSamples == 0) return;
|
if (nSamples == 0) return;
|
||||||
|
|
||||||
// Store samples to input buffer
|
// Store samples to input buffer
|
||||||
@ -142,7 +140,7 @@ void RateTransposer::processSamples(const SAMPLETYPE *src, uint nSamples)
|
|||||||
// the filter
|
// the filter
|
||||||
if (bUseAAFilter == false)
|
if (bUseAAFilter == false)
|
||||||
{
|
{
|
||||||
count = pTransposer->transpose(outputBuffer, inputBuffer);
|
(void)pTransposer->transpose(outputBuffer, inputBuffer);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user