Unnecessary spacing changes.

This commit is contained in:
Roxanne Skelly 2019-05-08 16:31:00 -07:00
parent dc7ec35544
commit 3a4241b290
3 changed files with 3 additions and 1 deletions

View file

@ -1491,6 +1491,7 @@ AudioSRC::~AudioSRC() {
//
int AudioSRC::render(const int16_t* input, int16_t* output, int inputFrames) {
int outputFrames = 0;
while (inputFrames) {
int ni = MIN(inputFrames, _inputBlock);
@ -1515,6 +1516,7 @@ int AudioSRC::render(const int16_t* input, int16_t* output, int inputFrames) {
//
int AudioSRC::render(const float* input, float* output, int inputFrames) {
int outputFrames = 0;
while (inputFrames) {
int ni = MIN(inputFrames, _inputBlock);

View file

@ -55,7 +55,6 @@ public:
int getMaxInput(int outputFrames);
private:
float* _polyphaseFilter;
int* _stepTable;

View file

@ -215,6 +215,7 @@ int InboundAudioStream::parseData(ReceivedMessage& message) {
if (framesAvailable > _desiredJitterBufferFrames + MAX_FRAMES_OVER_DESIRED) {
int framesToDrop = framesAvailable - (_desiredJitterBufferFrames + DESIRED_JITTER_BUFFER_FRAMES_PADDING);
_ringBuffer.shiftReadPosition(framesToDrop * _ringBuffer.getNumFrameSamples());
_framesAvailableStat.reset();
_currentJitterBufferFrames = 0;