diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-29 20:56:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-29 20:56:37 +0100 |
| commit | 48a720448779e4519b2cccae7c41ab1a618224a7 (patch) | |
| tree | f61b367e59bf38b34e4829e38723a1c0dc8d2052 /src/sound_frame.h | |
| parent | b215f88a79ad1b5707ef428a42ada758654c8077 (diff) | |
Add SoundFrame::channels().
Diffstat (limited to 'src/sound_frame.h')
| -rw-r--r-- | src/sound_frame.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound_frame.h b/src/sound_frame.h index e58e4bf3..5494d2da 100644 --- a/src/sound_frame.h +++ b/src/sound_frame.h @@ -47,6 +47,7 @@ class SoundFrame : public Frame<ASDCP::PCM::MXFReader, ASDCP::PCM::FrameBuffer> { public: SoundFrame (ASDCP::PCM::MXFReader* reader, int n, boost::shared_ptr<const DecryptionContext> c); + int channels () const; int samples () const; int32_t get (int channel, int sample) const; |
