mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
NullSound: Use std::array for the buffer
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include "AudioCommon/SoundStream.h"
|
||||
|
||||
class NullSound final : public SoundStream
|
||||
@ -22,5 +23,5 @@ private:
|
||||
static constexpr size_t BUFFER_SIZE = 48000 * 4 / 32;
|
||||
|
||||
// Playback position
|
||||
short realtimeBuffer[BUFFER_SIZE / sizeof(short)];
|
||||
std::array<short, BUFFER_SIZE / sizeof(short)> m_realtime_buffer;
|
||||
};
|
||||
|
Reference in New Issue
Block a user