projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ed400
)
Add Resampler::channels().
author
Carl Hetherington
<cth@carlh.net>
Tue, 15 Aug 2023 13:46:30 +0000
(15:46 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 15 Aug 2023 16:27:09 +0000
(18:27 +0200)
src/lib/resampler.h
patch
|
blob
|
history
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;