mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:10:37 +02:00
minor member rename
This commit is contained in:
parent
3fe4c29848
commit
4355ca8328
2 changed files with 3 additions and 3 deletions
|
@ -754,12 +754,12 @@ void Audio::processReceivedAudioStreamSamples(const QByteArray& inputBuffer, QBy
|
||||||
|
|
||||||
// copy the samples we'll resample from the spatial audio ring buffer - this also
|
// copy the samples we'll resample from the spatial audio ring buffer - this also
|
||||||
// pushes the read pointer of the spatial audio ring buffer forwards
|
// pushes the read pointer of the spatial audio ring buffer forwards
|
||||||
_spatialAudioRingBuffer.readSamples(_spatialProcessingBuffer, numNetworkOutputSamples);
|
_spatialAudioRingBuffer.readSamples(_outputProcessingBuffer, numNetworkOutputSamples);
|
||||||
|
|
||||||
// Advance the start point for the next packet of audio to arrive
|
// Advance the start point for the next packet of audio to arrive
|
||||||
_spatialAudioStart += numNetworkOutputSamples / _desiredOutputFormat.channelCount();
|
_spatialAudioStart += numNetworkOutputSamples / _desiredOutputFormat.channelCount();
|
||||||
|
|
||||||
receivedSamples = _spatialProcessingBuffer;
|
receivedSamples = _outputProcessingBuffer;
|
||||||
} else {
|
} else {
|
||||||
// copy the samples we'll resample from the ring buffer - this also
|
// copy the samples we'll resample from the ring buffer - this also
|
||||||
// pushes the read pointer of the ring buffer forwards
|
// pushes the read pointer of the ring buffer forwards
|
||||||
|
|
|
@ -167,7 +167,7 @@ private:
|
||||||
QAudioFormat _desiredOutputFormat;
|
QAudioFormat _desiredOutputFormat;
|
||||||
QAudioFormat _outputFormat;
|
QAudioFormat _outputFormat;
|
||||||
int _outputFrameSize;
|
int _outputFrameSize;
|
||||||
int16_t _spatialProcessingBuffer[NETWORK_BUFFER_LENGTH_SAMPLES_STEREO];
|
int16_t _outputProcessingBuffer[NETWORK_BUFFER_LENGTH_SAMPLES_STEREO];
|
||||||
int _numOutputCallbackBytes;
|
int _numOutputCallbackBytes;
|
||||||
QAudioOutput* _loopbackAudioOutput;
|
QAudioOutput* _loopbackAudioOutput;
|
||||||
QIODevice* _loopbackOutputDevice;
|
QIODevice* _loopbackOutputDevice;
|
||||||
|
|
Loading…
Reference in a new issue