diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-04-01 21:44:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-04-01 21:44:06 +0100 |
| commit | 1eeba876ce09cedfa4c779bf3554372c01dc34c5 (patch) | |
| tree | 3b1590b8b1e25a985a7805e28187d454df52a1a6 /src/lib/audio_decoder.cc | |
| parent | 70b1f90c6986e36afc2af36ee127f6a3eb8653cd (diff) | |
Various small fixes.
Diffstat (limited to 'src/lib/audio_decoder.cc')
| -rw-r--r-- | src/lib/audio_decoder.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/audio_decoder.cc b/src/lib/audio_decoder.cc index 616abf846..9606c378c 100644 --- a/src/lib/audio_decoder.cc +++ b/src/lib/audio_decoder.cc @@ -36,6 +36,7 @@ using boost::shared_ptr; AudioDecoder::AudioDecoder (shared_ptr<const AudioContent> content) : _audio_content (content) + , _decoded_audio (shared_ptr<AudioBuffers> (new AudioBuffers (content->audio_channels(), 0)), 0) { if (content->output_audio_frame_rate() != content->content_audio_frame_rate() && content->audio_channels ()) { _resampler.reset (new Resampler (content->content_audio_frame_rate(), content->output_audio_frame_rate(), content->audio_channels ())); |
