summaryrefslogtreecommitdiff
path: root/src/audio/audio_decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/audio_decoder.cpp')
-rw-r--r--src/audio/audio_decoder.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audio/audio_decoder.cpp b/src/audio/audio_decoder.cpp
index 8ef90905..87959cd4 100644
--- a/src/audio/audio_decoder.cpp
+++ b/src/audio/audio_decoder.cpp
@@ -21,7 +21,11 @@ namespace audio {
static const std::size_t kSamplesPerChunk = 256;
-AudioDecoder::AudioDecoder() : IAudioElement(), stream_info_({}) {}
+AudioDecoder::AudioDecoder()
+ : IAudioElement(),
+ stream_info_({}),
+ has_samples_to_send_(false),
+ needs_more_input_(true) {}
AudioDecoder::~AudioDecoder() {}