diff options
Diffstat (limited to 'src/audio_core/sink.h')
-rw-r--r-- | src/audio_core/sink.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/audio_core/sink.h b/src/audio_core/sink.h index a06fc3dcc..c938e87d2 100644 --- a/src/audio_core/sink.h +++ b/src/audio_core/sink.h @@ -11,14 +11,16 @@ namespace AudioCore { /** - * This class is an interface for an audio sink. An audio sink accepts samples in stereo signed PCM16 format to be output. + * This class is an interface for an audio sink. An audio sink accepts samples in stereo signed + * PCM16 format to be output. * Sinks *do not* handle resampling and expect the correct sample rate. They are dumb outputs. */ class Sink { public: virtual ~Sink() = default; - /// The native rate of this sink. The sink expects to be fed samples that respect this. (Units: samples/sec) + /// The native rate of this sink. The sink expects to be fed samples that respect this. (Units: + /// samples/sec) virtual unsigned int GetNativeSampleRate() const = 0; /** |