Merge pull request #6130 from ligfx/emptynullsoundstream

NullSoundStream: don't call Mixer->Mix
This commit is contained in:
Leo Lam
2017-10-24 11:44:22 +02:00
committed by GitHub
2 changed files with 0 additions and 20 deletions

View File

@ -4,7 +4,6 @@
#pragma once
#include <array>
#include "AudioCommon/SoundStream.h"
class NullSound final : public SoundStream
@ -17,9 +16,4 @@ public:
void Update() override;
static bool isValid() { return true; }
private:
static constexpr size_t BUFFER_SIZE = 48000 * 4 / 32;
// Playback position
std::array<short, BUFFER_SIZE / sizeof(short)> m_realtime_buffer;
};