summaryrefslogtreecommitdiffstats
path: root/src/audio_core/null_sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_core/null_sink.h')
-rw-r--r--src/audio_core/null_sink.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio_core/null_sink.h b/src/audio_core/null_sink.h
index f235d93e5..fbb1bc225 100644
--- a/src/audio_core/null_sink.h
+++ b/src/audio_core/null_sink.h
@@ -21,6 +21,10 @@ public:
private:
struct NullSinkStreamImpl final : SinkStream {
void EnqueueSamples(u32 /*num_channels*/, const std::vector<s16>& /*samples*/) override {}
+
+ size_t SamplesInQueue(u32 /*num_channels*/) const override {
+ return 0;
+ }
} null_sink_stream;
};