projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add SoundFrame::channels().
[libdcp.git]
/
src
/
sound_frame.cc
diff --git
a/src/sound_frame.cc
b/src/sound_frame.cc
index 521c990f40518ed7b9f975547650fff9b2b2752c..b5a52d02b7c23b5b3696d957745cd9898b061ba4 100644
(file)
--- a/
src/sound_frame.cc
+++ b/
src/sound_frame.cc
@@
-53,6
+53,12
@@
SoundFrame::get (int channel, int frame) const
return d[0] | (d[1] << 8) | (d[2] << 16);
}
+int
+SoundFrame::channels () const
+{
+ return _channels;
+}
+
int
SoundFrame::samples () const
{