diff options
Diffstat (limited to 'src/sound_frame.h')
| -rw-r--r-- | src/sound_frame.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/sound_frame.h b/src/sound_frame.h index 096bc1b3..85082299 100644 --- a/src/sound_frame.h +++ b/src/sound_frame.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -31,18 +31,23 @@ files in the program, then also delete it here. */ + /** @file src/sound_frame.h - * @brief SoundFrame class. + * @brief SoundFrame class */ + #ifndef LIBDCP_SOUND_FRAME_H #define LIBDCP_SOUND_FRAME_H + #include "frame.h" #include <asdcp/AS_DCP.h> + namespace dcp { + class SoundFrame : public Frame<ASDCP::PCM::MXFReader, ASDCP::PCM::FrameBuffer> { public: @@ -52,9 +57,11 @@ public: int32_t get (int channel, int sample) const; private: - int _channels; + int _channels = 0; }; + } + #endif |
