summaryrefslogtreecommitdiff
path: root/src/audio_core/hle/dsp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_core/hle/dsp.cpp')
-rw-r--r--src/audio_core/hle/dsp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio_core/hle/dsp.cpp b/src/audio_core/hle/dsp.cpp
index 0640e1eff..a195bc74c 100644
--- a/src/audio_core/hle/dsp.cpp
+++ b/src/audio_core/hle/dsp.cpp
@@ -90,7 +90,8 @@ static AudioCore::TimeStretcher time_stretcher;
90 90
91static void OutputCurrentFrame(const StereoFrame16& frame) { 91static void OutputCurrentFrame(const StereoFrame16& frame) {
92 time_stretcher.AddSamples(&frame[0][0], frame.size()); 92 time_stretcher.AddSamples(&frame[0][0], frame.size());
93 sink->EnqueueSamples(time_stretcher.Process(sink->SamplesInQueue())); 93 std::vector<s16> stretched_samples = time_stretcher.Process(sink->SamplesInQueue());
94 sink->EnqueueSamples(stretched_samples.data(), stretched_samples.size() / 2);
94} 95}
95 96
96// Public Interface 97// Public Interface