mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
NullSound: Use std::array for the buffer
This commit is contained in:
parent
0d4baa0744
commit
0917db7fc0
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue