summaryrefslogtreecommitdiff
path: root/src/audio_core/codec.h
diff options
context:
space:
mode:
authorMerry <MerryMage@users.noreply.github.com>2017-09-26 08:47:37 +0100
committerGitHub <noreply@github.com>2017-09-26 08:47:37 +0100
commit0c20da7fde7ed659977ce145e003c6b2f42b7290 (patch)
treefb0624e37338033ae84a8948be5c235ec8d4f1dd /src/audio_core/codec.h
parentfd30d48ceb7d513923d01a68e568668b6d4d3e7f (diff)
parentd7459354f58d1b71fc0c5ec48de9242e6a2fd00c (diff)
Merge pull request #2958 from Subv/audio_buffer_datatype
Audio: Use std::deque instead of std::vector for the audio buffer type (StereoBuffer16)
Diffstat (limited to 'src/audio_core/codec.h')
-rw-r--r--src/audio_core/codec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/codec.h b/src/audio_core/codec.h
index 2b0c395e6..877b2202d 100644
--- a/src/audio_core/codec.h
+++ b/src/audio_core/codec.h
@@ -5,13 +5,13 @@
#pragma once
#include <array>
-#include <vector>
+#include <deque>
#include "common/common_types.h"
namespace Codec {
/// A variable length buffer of signed PCM16 stereo samples.
-using StereoBuffer16 = std::vector<std::array<s16, 2>>;
+using StereoBuffer16 = std::deque<std::array<s16, 2>>;
/// See: Codec::DecodeADPCM
struct ADPCMState {