summaryrefslogtreecommitdiff
path: root/src/output/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/plugins')
-rw-r--r--src/output/plugins/AoOutputPlugin.cxx2
-rw-r--r--src/output/plugins/FifoOutputPlugin.cxx2
-rw-r--r--src/output/plugins/NullOutputPlugin.cxx2
-rw-r--r--src/output/plugins/OpenALOutputPlugin.cxx2
-rw-r--r--src/output/plugins/PipeOutputPlugin.cxx2
-rw-r--r--src/output/plugins/RecorderOutputPlugin.cxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/output/plugins/AoOutputPlugin.cxx b/src/output/plugins/AoOutputPlugin.cxx
index 187c164b6..ec700d607 100644
--- a/src/output/plugins/AoOutputPlugin.cxx
+++ b/src/output/plugins/AoOutputPlugin.cxx
@@ -52,7 +52,7 @@ class AoOutput final : AudioOutput, SafeSingleton<AoInit> {
size_t frame_size;
- AoOutput(const ConfigBlock &block);
+ explicit AoOutput(const ConfigBlock &block);
~AoOutput() override;
public:
diff --git a/src/output/plugins/FifoOutputPlugin.cxx b/src/output/plugins/FifoOutputPlugin.cxx
index 8e49d7216..4eb6ccafa 100644
--- a/src/output/plugins/FifoOutputPlugin.cxx
+++ b/src/output/plugins/FifoOutputPlugin.cxx
@@ -42,7 +42,7 @@ class FifoOutput final : AudioOutput {
Timer *timer;
public:
- FifoOutput(const ConfigBlock &block);
+ explicit FifoOutput(const ConfigBlock &block);
~FifoOutput() override {
CloseFifo();
diff --git a/src/output/plugins/NullOutputPlugin.cxx b/src/output/plugins/NullOutputPlugin.cxx
index 712dcf6f9..02cd01f91 100644
--- a/src/output/plugins/NullOutputPlugin.cxx
+++ b/src/output/plugins/NullOutputPlugin.cxx
@@ -27,7 +27,7 @@ class NullOutput final : AudioOutput {
Timer *timer;
public:
- NullOutput(const ConfigBlock &block)
+ explicit NullOutput(const ConfigBlock &block)
:AudioOutput(0),
sync(block.GetBlockValue("sync", true)) {}
diff --git a/src/output/plugins/OpenALOutputPlugin.cxx b/src/output/plugins/OpenALOutputPlugin.cxx
index faf6019d0..55c797b6f 100644
--- a/src/output/plugins/OpenALOutputPlugin.cxx
+++ b/src/output/plugins/OpenALOutputPlugin.cxx
@@ -44,7 +44,7 @@ class OpenALOutput final : AudioOutput {
ALenum format;
ALuint frequency;
- OpenALOutput(const ConfigBlock &block);
+ explicit OpenALOutput(const ConfigBlock &block);
public:
static AudioOutput *Create(EventLoop &,
diff --git a/src/output/plugins/PipeOutputPlugin.cxx b/src/output/plugins/PipeOutputPlugin.cxx
index 099bfeb09..62e01be1e 100644
--- a/src/output/plugins/PipeOutputPlugin.cxx
+++ b/src/output/plugins/PipeOutputPlugin.cxx
@@ -30,7 +30,7 @@ class PipeOutput final : AudioOutput {
const std::string cmd;
FILE *fh;
- PipeOutput(const ConfigBlock &block);
+ explicit PipeOutput(const ConfigBlock &block);
public:
static AudioOutput *Create(EventLoop &,
diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx
index 77fd709a5..590ecec58 100644
--- a/src/output/plugins/RecorderOutputPlugin.cxx
+++ b/src/output/plugins/RecorderOutputPlugin.cxx
@@ -67,7 +67,7 @@ class RecorderOutput final : AudioOutput {
*/
FileOutputStream *file;
- RecorderOutput(const ConfigBlock &block);
+ explicit RecorderOutput(const ConfigBlock &block);
public:
static AudioOutput *Create(EventLoop &, const ConfigBlock &block) {