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 | a6efff8b02986daf6d3660c4f33c5f39cf3f3830 (patch) | |
| tree | af15627fd0a02ae74b222e1d02e689185062f1a9 /src/audio_core/sink_stream.h | |
| parent | 9cd79c25ed04bb1bf67192d810791ab39e09ee96 (diff) | |
Add audio stretching support
Diffstat (limited to 'src/audio_core/sink_stream.h')
| -rw-r--r-- | src/audio_core/sink_stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio_core/sink_stream.h b/src/audio_core/sink_stream.h index 41b6736d8..743a743a3 100644 --- a/src/audio_core/sink_stream.h +++ b/src/audio_core/sink_stream.h @@ -25,6 +25,8 @@ public: * @param samples Samples in interleaved stereo PCM16 format. */ virtual void EnqueueSamples(u32 num_channels, const std::vector<s16>& samples) = 0; + + virtual std::size_t SamplesInQueue(u32 num_channels) const = 0; }; using SinkStreamPtr = std::unique_ptr<SinkStream>; |
