From dc8479928c5aee4c6ad6fe4f59006fb604cee701 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 18 Sep 2016 09:38:01 +0900 Subject: Sources: Run clang-format on everything. --- src/audio_core/sink.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/audio_core/sink.h') 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; /** -- cgit v1.2.3 From 396a8d91a4423d9c793eeff0798d544613647511 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sun, 18 Sep 2016 18:01:46 -0700 Subject: Manually tweak source formatting and then re-run clang-format --- src/audio_core/sink.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/audio_core/sink.h') diff --git a/src/audio_core/sink.h b/src/audio_core/sink.h index c938e87d2..f5ce55a6b 100644 --- a/src/audio_core/sink.h +++ b/src/audio_core/sink.h @@ -12,8 +12,8 @@ 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. + * PCM16 format to be output. Sinks *do not* handle resampling and expect the correct sample rate. + * They are dumb outputs. */ class Sink { public: -- cgit v1.2.3 From ebdae19fd226104baec712b9da9939ff82ef3c3a Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 21 Sep 2016 00:21:23 +0900 Subject: Remove empty newlines in #include blocks. This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. --- src/audio_core/sink.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/audio_core/sink.h') diff --git a/src/audio_core/sink.h b/src/audio_core/sink.h index f5ce55a6b..08f3bab5b 100644 --- a/src/audio_core/sink.h +++ b/src/audio_core/sink.h @@ -5,7 +5,6 @@ #pragma once #include - #include "common/common_types.h" namespace AudioCore { -- cgit v1.2.3