summaryrefslogtreecommitdiff
path: root/src/sound_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-24 04:15:26 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-24 04:15:26 +0100
commitceaf7bc52712cb60708ed5eb5c62c5e463dd8e89 (patch)
treec55e4b85ee30138ce83263045d77d01631378b2e /src/sound_frame.h
parent6c37cc1979b2a01205a888c4c98f3334685ee8dd (diff)
Tidying.
Diffstat (limited to 'src/sound_frame.h')
-rw-r--r--src/sound_frame.h13
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