projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Emit no audio from DCPs if none is mapped
[dcpomatic.git]
/
src
/
lib
/
resampler.h
diff --git
a/src/lib/resampler.h
b/src/lib/resampler.h
index 95b71c222e814570a8f1a5bc6cf92bfb7244df5f..e53e3f1070f05096efadf024d3bd340e096a0c2f 100644
(file)
--- a/
src/lib/resampler.h
+++ b/
src/lib/resampler.h
@@
-40,6
+40,10
@@
public:
void reset ();
void set_fast ();
+ int channels() const {
+ return _channels;
+ }
+
private:
SRC_STATE* _src = nullptr;
int _in_rate;