mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
NullSoundStream: don't call Mixer->Mix
This commit is contained in:
parent
774fca4d01
commit
6abd1c8c99
2 changed files with 0 additions and 20 deletions
|
@ -4,7 +4,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include "AudioCommon/SoundStream.h"
|
||||
|
||||
class NullSound final : public SoundStream
|
||||
|
@ -18,9 +17,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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue