NullSound: Use std::array for the buffer

This commit is contained in:
Lioncash
2015-12-05 14:33:33 -05:00
parent 0d4baa0744
commit 0917db7fc0
2 changed files with 6 additions and 6 deletions

View File

@ -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;
};