diff options
author | Max Kellermann <max@musicpd.org> | 2017-05-15 23:01:49 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-05-15 23:01:49 +0200 |
commit | 4faef28cc56c3ed72a22dbd1cb317cf756217400 (patch) | |
tree | f2a3e8168ce9efada0fd0afe9971f90f0dee12b4 /src/output/plugins/JackOutputPlugin.cxx | |
parent | 89b900432e0bfb324356f6ae62a09241eb75d251 (diff) | |
parent | b4c9d9c2a72fbf2c6c9090c73fe37fcc94dce1ca (diff) |
Merge tag 'v0.20.7'
release v0.20.7
Diffstat (limited to 'src/output/plugins/JackOutputPlugin.cxx')
-rw-r--r-- | src/output/plugins/JackOutputPlugin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/plugins/JackOutputPlugin.cxx b/src/output/plugins/JackOutputPlugin.cxx index 3f08d50a8..8ef88963f 100644 --- a/src/output/plugins/JackOutputPlugin.cxx +++ b/src/output/plugins/JackOutputPlugin.cxx @@ -119,7 +119,7 @@ struct JackOutput { * on all channels. */ gcc_pure - jack_nframes_t GetAvailable() const; + jack_nframes_t GetAvailable() const noexcept; void Process(jack_nframes_t nframes); @@ -128,7 +128,7 @@ struct JackOutput { */ size_t WriteSamples(const float *src, size_t n_frames); - std::chrono::steady_clock::duration Delay() const { + std::chrono::steady_clock::duration Delay() const noexcept { return base.pause && pause && !shutdown ? std::chrono::seconds(1) : std::chrono::steady_clock::duration::zero(); @@ -215,7 +215,7 @@ JackOutput::JackOutput(const ConfigBlock &block) } inline jack_nframes_t -JackOutput::GetAvailable() const +JackOutput::GetAvailable() const noexcept { size_t min = jack_ringbuffer_read_space(ringbuffer[0]); |