mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 17:35:45 +02:00
removed more warnings about unused vars
This commit is contained in:
parent
4a4d065f00
commit
5eaa57b3ad
2 changed files with 0 additions and 9 deletions
|
@ -237,14 +237,6 @@ void AudioMixer::addBufferToMixForListeningNodeWithBuffer(PositionalAudioRingBuf
|
||||||
_clientSamples[delayedChannelIndex + SINGLE_STEREO_OFFSET] += delayBufferSample[1];
|
_clientSamples[delayedChannelIndex + SINGLE_STEREO_OFFSET] += delayBufferSample[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
// The following code is pretty gross and redundant, but AFAIK it's the best way to avoid
|
|
||||||
// too many conditionals in handling the delay samples at the beginning of _clientSamples.
|
|
||||||
// Basically we try to take the samples in batches of four, and then handle the remainder
|
|
||||||
// conditionally to get rid of the rest.
|
|
||||||
|
|
||||||
const int DOUBLE_STEREO_OFFSET = 4;
|
|
||||||
const int TRIPLE_STEREO_OFFSET = 6;
|
|
||||||
|
|
||||||
if (numSamplesDelay > 0) {
|
if (numSamplesDelay > 0) {
|
||||||
// if there was a sample delay for this buffer, we need to pull samples prior to the nextOutput
|
// if there was a sample delay for this buffer, we need to pull samples prior to the nextOutput
|
||||||
// to stick at the beginning
|
// to stick at the beginning
|
||||||
|
|
|
@ -278,7 +278,6 @@ void Stats::display(
|
||||||
|
|
||||||
|
|
||||||
Audio* audio = Application::getInstance()->getAudio();
|
Audio* audio = Application::getInstance()->getAudio();
|
||||||
const QHash<QUuid, AudioStreamStats>& audioMixerInjectedStreamAudioStatsMap = audio->getAudioMixerInjectedStreamAudioStatsMap();
|
|
||||||
|
|
||||||
lines = _expanded ? 4 : 3;
|
lines = _expanded ? 4 : 3;
|
||||||
drawBackground(backgroundColor, horizontalOffset, 0, _pingStatsWidth, lines * STATS_PELS_PER_LINE + 10);
|
drawBackground(backgroundColor, horizontalOffset, 0, _pingStatsWidth, lines * STATS_PELS_PER_LINE + 10);
|
||||||
|
|
Loading…
Reference in a new issue