diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-06 05:35:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-06 05:35:22 +0200 |
commit | bb21c2198a35fe714d5d95c49b93a8848933e9b4 (patch) | |
tree | 2a3da0f4203422bce7f999b9e1597e51ea875bf2 /src/audio_core/sink_stream.h | |
parent | Merge pull request #927 from bunnei/fix-texs (diff) | |
parent | audio_core: Implement audren_u audio playback. (diff) | |
download | yuzu-bb21c2198a35fe714d5d95c49b93a8848933e9b4.tar yuzu-bb21c2198a35fe714d5d95c49b93a8848933e9b4.tar.gz yuzu-bb21c2198a35fe714d5d95c49b93a8848933e9b4.tar.bz2 yuzu-bb21c2198a35fe714d5d95c49b93a8848933e9b4.tar.lz yuzu-bb21c2198a35fe714d5d95c49b93a8848933e9b4.tar.xz yuzu-bb21c2198a35fe714d5d95c49b93a8848933e9b4.tar.zst yuzu-bb21c2198a35fe714d5d95c49b93a8848933e9b4.zip |
Diffstat (limited to 'src/audio_core/sink_stream.h')
-rw-r--r-- | src/audio_core/sink_stream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/sink_stream.h b/src/audio_core/sink_stream.h index e7a3f01b0..41b6736d8 100644 --- a/src/audio_core/sink_stream.h +++ b/src/audio_core/sink_stream.h @@ -5,6 +5,7 @@ #pragma once #include <memory> +#include <vector> #include "common/common_types.h" @@ -22,9 +23,8 @@ public: * Feed stereo samples to sink. * @param num_channels Number of channels used. * @param samples Samples in interleaved stereo PCM16 format. - * @param sample_count Number of samples. */ - virtual void EnqueueSamples(u32 num_channels, const s16* samples, size_t sample_count) = 0; + virtual void EnqueueSamples(u32 num_channels, const std::vector<s16>& samples) = 0; }; using SinkStreamPtr = std::unique_ptr<SinkStream>; |