summaryrefslogtreecommitdiff
path: root/src/output/plugins/JackOutputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-05-15 23:01:49 +0200
committerMax Kellermann <max@musicpd.org>2017-05-15 23:01:49 +0200
commit4faef28cc56c3ed72a22dbd1cb317cf756217400 (patch)
treef2a3e8168ce9efada0fd0afe9971f90f0dee12b4 /src/output/plugins/JackOutputPlugin.cxx
parent89b900432e0bfb324356f6ae62a09241eb75d251 (diff)
parentb4c9d9c2a72fbf2c6c9090c73fe37fcc94dce1ca (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.cxx6
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]);