diff options
author | David Robillard <d@drobilla.net> | 2021-01-02 14:02:44 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-02 14:02:44 +0100 |
commit | 663a5d01b1931b97370ed8feff3ae229a9cc7ea4 (patch) | |
tree | aba74794cb45f06734bd80bbf53d79f947008e54 /src/AudioDriver.hpp | |
parent | 1936aace80b5594078d874e9b661a9a91e461279 (diff) | |
download | patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.tar.gz patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.tar.bz2 patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.zip |
Format all code with clang-format
Diffstat (limited to 'src/AudioDriver.hpp')
-rw-r--r-- | src/AudioDriver.hpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/AudioDriver.hpp b/src/AudioDriver.hpp index 654b8bb..06cfe7f 100644 --- a/src/AudioDriver.hpp +++ b/src/AudioDriver.hpp @@ -28,24 +28,24 @@ namespace patchage { class AudioDriver : public Driver { public: - explicit AudioDriver(EventSink emit_event) - : Driver{std::move(emit_event)} - {} + explicit AudioDriver(EventSink emit_event) + : Driver{std::move(emit_event)} + {} - /// Return the number of xruns (dropouts) since the last reset - virtual uint32_t xruns() = 0; + /// Return the number of xruns (dropouts) since the last reset + virtual uint32_t xruns() = 0; - /// Reset the xrun count - virtual void reset_xruns() = 0; + /// Reset the xrun count + virtual void reset_xruns() = 0; - /// Return the current buffer size in frames - virtual uint32_t buffer_size() = 0; + /// Return the current buffer size in frames + virtual uint32_t buffer_size() = 0; - /// Try to set the current buffer size in frames, return true on success - virtual bool set_buffer_size(uint32_t frames) = 0; + /// Try to set the current buffer size in frames, return true on success + virtual bool set_buffer_size(uint32_t frames) = 0; - /// Return the current sample rate in Hz - virtual uint32_t sample_rate() = 0; + /// Return the current sample rate in Hz + virtual uint32_t sample_rate() = 0; }; } // namespace patchage |