diff options
| author | 2018-08-23 14:33:03 +0200 | |
|---|---|---|
| committer | 2018-09-08 18:26:23 +0100 | |
| 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.gz yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.tar.xz yuzu-a6efff8b02986daf6d3660c4f33c5f39cf3f3830.zip | |
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: | |||
| 25 | * @param samples Samples in interleaved stereo PCM16 format. | 25 | * @param samples Samples in interleaved stereo PCM16 format. |
| 26 | */ | 26 | */ |
| 27 | virtual void EnqueueSamples(u32 num_channels, const std::vector<s16>& samples) = 0; | 27 | virtual void EnqueueSamples(u32 num_channels, const std::vector<s16>& samples) = 0; |
| 28 | |||
| 29 | virtual std::size_t SamplesInQueue(u32 num_channels) const = 0; | ||
| 28 | }; | 30 | }; |
| 29 | 31 | ||
| 30 | using SinkStreamPtr = std::unique_ptr<SinkStream>; | 32 | using SinkStreamPtr = std::unique_ptr<SinkStream>; |