X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fsound_frame.h;h=e58e4bf39029ec6396c9327d36612d78f0ba8820;hb=96a4ea4c7103724968c112064475cdf2005a3f64;hp=2b78c8e1d1116ae2e4ad600c838882d919e8ecfc;hpb=eb772d227c378e17c99b5d609b81d0cc4b664d2c;p=libdcp.git diff --git a/src/sound_frame.h b/src/sound_frame.h index 2b78c8e1..e58e4bf3 100644 --- a/src/sound_frame.h +++ b/src/sound_frame.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2014 Carl Hetherington + Copyright (C) 2012-2017 Carl Hetherington This file is part of libdcp. @@ -43,7 +43,16 @@ namespace dcp { -typedef Frame SoundFrame; +class SoundFrame : public Frame +{ +public: + SoundFrame (ASDCP::PCM::MXFReader* reader, int n, boost::shared_ptr c); + int samples () const; + int32_t get (int channel, int sample) const; + +private: + int _channels; +}; }