summaryrefslogtreecommitdiff
path: root/src/audio_core/interpolate.h
diff options
context:
space:
mode:
authorGravatar Merry2017-09-26 08:47:37 +0100
committerGravatar GitHub2017-09-26 08:47:37 +0100
commit0c20da7fde7ed659977ce145e003c6b2f42b7290 (patch)
treefb0624e37338033ae84a8948be5c235ec8d4f1dd /src/audio_core/interpolate.h
parentMerge pull request #2947 from Subv/selfncch_factory (diff)
parentAudio: Use std::deque instead of std::vector for the audio buffer type (Stere... (diff)
downloadyuzu-0c20da7fde7ed659977ce145e003c6b2f42b7290.tar.gz
yuzu-0c20da7fde7ed659977ce145e003c6b2f42b7290.tar.xz
yuzu-0c20da7fde7ed659977ce145e003c6b2f42b7290.zip
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/interpolate.h')
-rw-r--r--src/audio_core/interpolate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/interpolate.h b/src/audio_core/interpolate.h
index 59f59bc14..8dff6111a 100644
--- a/src/audio_core/interpolate.h
+++ b/src/audio_core/interpolate.h
@@ -5,14 +5,14 @@
5#pragma once 5#pragma once
6 6
7#include <array> 7#include <array>
8#include <vector> 8#include <deque>
9#include "audio_core/hle/common.h" 9#include "audio_core/hle/common.h"
10#include "common/common_types.h" 10#include "common/common_types.h"
11 11
12namespace AudioInterp { 12namespace AudioInterp {
13 13
14/// A variable length buffer of signed PCM16 stereo samples. 14/// A variable length buffer of signed PCM16 stereo samples.
15using StereoBuffer16 = std::vector<std::array<s16, 2>>; 15using StereoBuffer16 = std::deque<std::array<s16, 2>>;
16 16
17struct State { 17struct State {
18 /// Two historical samples. 18 /// Two historical samples.