summaryrefslogtreecommitdiff
path: root/src/audio_core/sink.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-09-21 11:29:48 -0700
committerGitHub <noreply@github.com>2016-09-21 11:29:48 -0700
commitd5d2ca8058a0f1c00ab7ca9fe2c058ba47546c0a (patch)
tree8a22ca73ff838f3f0090b29a548ae81087fc90ed /src/audio_core/sink.h
parent2a910a6d883f2227edc74aacf5b93a58a3dea07c (diff)
parent0e3f0120a8ec2996e73bb6b7b6c9d7531f7a7eb1 (diff)
Merge pull request #2086 from linkmauve/clang-format
Add clang-format as part of our {commit,travis}-time checks
Diffstat (limited to 'src/audio_core/sink.h')
-rw-r--r--src/audio_core/sink.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/audio_core/sink.h b/src/audio_core/sink.h
index a06fc3dcc..08f3bab5b 100644
--- a/src/audio_core/sink.h
+++ b/src/audio_core/sink.h
@@ -5,20 +5,21 @@
#pragma once
#include <vector>
-
#include "common/common_types.h"
namespace AudioCore {
/**
- * 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.
+ * 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;
/**