diff options
| author | fearlessTobi <thm.frey@gmail.com> | 2018-08-23 14:33:03 +0200 |
|---|---|---|
| committer | MerryMage <MerryMage@users.noreply.github.com> | 2018-09-08 18:26:23 +0100 |
| commit | 7377afca3a6d5b099195b1ea3052a661d7ba11ef (patch) | |
| tree | af15627fd0a02ae74b222e1d02e689185062f1a9 /src/audio_core/stream.cpp | |
| parent | 3ce6d128d1361416bcb62df444a26ee6dc5787ef (diff) | |
Add audio stretching support
Diffstat (limited to 'src/audio_core/stream.cpp')
| -rw-r--r-- | src/audio_core/stream.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audio_core/stream.cpp b/src/audio_core/stream.cpp index dbae75d8c4..49c6efc859 100644 --- a/src/audio_core/stream.cpp +++ b/src/audio_core/stream.cpp @@ -90,6 +90,7 @@ void Stream::PlayNextBuffer() { queued_buffers.pop(); VolumeAdjustSamples(active_buffer->Samples()); + sink_stream.EnqueueSamples(GetNumChannels(), active_buffer->GetSamples()); CoreTiming::ScheduleEventThreadsafe(GetBufferReleaseCycles(*active_buffer), release_event, {}); |
