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 19:26:23 +0200 |
commit | a6efff8b02986daf6d3660c4f33c5f39cf3f3830 (patch) | |
tree | af15627fd0a02ae74b222e1d02e689185062f1a9 /src/audio_core/sink_stream.h | |
parent | Merge pull request #1246 from degasus/instanced_rendering (diff) | |
download | yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.gz yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.bz2 yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.lz yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.xz yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.zst yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.zip |
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>; |