summaryrefslogtreecommitdiff
path: root/src/pcm/PcmFormat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm/PcmFormat.cxx')
-rw-r--r--src/pcm/PcmFormat.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm/PcmFormat.cxx b/src/pcm/PcmFormat.cxx
index 943438790..5aa28db26 100644
--- a/src/pcm/PcmFormat.cxx
+++ b/src/pcm/PcmFormat.cxx
@@ -53,7 +53,7 @@ struct Convert24To16 {
PcmDither &dither;
- Convert24To16(PcmDither &_dither):dither(_dither) {}
+ explicit Convert24To16(PcmDither &_dither):dither(_dither) {}
void Convert(int16_t *out, const int32_t *in, size_t n) {
dither.Dither24To16(out, in, in + n);
@@ -66,7 +66,7 @@ struct Convert32To16 {
PcmDither &dither;
- Convert32To16(PcmDither &_dither):dither(_dither) {}
+ explicit Convert32To16(PcmDither &_dither):dither(_dither) {}
void Convert(int16_t *out, const int32_t *in, size_t n) {
dither.Dither32To16(out, in, in + n);