- changes to library
This commit is contained in:
@@ -583,7 +583,7 @@ void AudioReceiver::makeMonoAndResample(int rate, int channels)
|
||||
return;
|
||||
}
|
||||
|
||||
int processedInput = 0;
|
||||
size_t processedInput = 0;
|
||||
mResampledLength = r->processBuffer(frames, length, processedInput, mResampledFrame, r->getDestLength(length));
|
||||
// processedInput result value is ignored - it is always equal to length as internal sample rate is 8/16/32/48K
|
||||
}
|
||||
|
||||
@@ -160,7 +160,7 @@ void AudioStream::addData(const void* buffer, int bytes)
|
||||
assert(0);
|
||||
}
|
||||
|
||||
int processedInput = 0;
|
||||
size_t processedInput = 0;
|
||||
dstlen = r->processBuffer(buffer, bytes, processedInput, mResampleBuffer, dstlen);
|
||||
// ProcessedInput output value is ignored - because sample rate of input is always 8/16/32/48K - so all buffer is processed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user