aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/sndfile/decoder_sndfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/sndfile/decoder_sndfile.h')
-rw-r--r--src/plugins/Input/sndfile/decoder_sndfile.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/plugins/Input/sndfile/decoder_sndfile.h b/src/plugins/Input/sndfile/decoder_sndfile.h
index d202ad546..d651a87f7 100644
--- a/src/plugins/Input/sndfile/decoder_sndfile.h
+++ b/src/plugins/Input/sndfile/decoder_sndfile.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007-2016 by Ilya Kotov *
+ * Copyright (C) 2007-2020 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -32,7 +32,7 @@
class DecoderSndFile : public Decoder
{
public:
- DecoderSndFile(QIODevice *input);
+ explicit DecoderSndFile(QIODevice *input);
virtual ~DecoderSndFile();
// Standard Decoder API
@@ -43,14 +43,13 @@ public:
void seek(qint64 time) override;
private:
-
// helper functions
void deinit();
- SNDFILE *m_sndfile;
- int m_bitrate;
- quint32 m_freq;
- qint64 m_totalTime;
+ SNDFILE *m_sndfile = nullptr;
+ int m_bitrate = 0;
+ quint32 m_freq = 0;
+ qint64 m_totalTime = 0;
SF_VIRTUAL_IO m_vio;
};