diff options
Diffstat (limited to 'src/audio_core/sink.h')
-rw-r--r-- | src/audio_core/sink.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/audio_core/sink.h b/src/audio_core/sink.h index 08f3bab5b3..558c8c0fe8 100644 --- a/src/audio_core/sink.h +++ b/src/audio_core/sink.h @@ -31,6 +31,15 @@ public: /// Samples enqueued that have not been played yet. virtual std::size_t SamplesInQueue() const = 0; + + /** + * Sets the desired output device. + * @paran device_id Id of the desired device. + */ + virtual void SetDevice(int device_id) = 0; + + /// Returns the list of available devices. + virtual std::vector<std::string> GetDeviceList() const = 0; }; } // namespace |