projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an assertion.
[dcpomatic.git]
/
src
/
lib
/
upmixer_a.cc
diff --git
a/src/lib/upmixer_a.cc
b/src/lib/upmixer_a.cc
index a1221e5ac580e78b5acc6966169458189583c628..ca42cd3867ab7e935b1713ea83d36f51a810a7c9 100644
(file)
--- a/
src/lib/upmixer_a.cc
+++ b/
src/lib/upmixer_a.cc
@@
-73,7
+73,7
@@
UpmixerA::run (shared_ptr<const AudioBuffers> in, int channels)
/* Mix of L and R; -6dB down in amplitude (3dB in terms of power) */
shared_ptr<AudioBuffers> in_LR = in_L->clone ();
/* Mix of L and R; -6dB down in amplitude (3dB in terms of power) */
shared_ptr<AudioBuffers> in_LR = in_L->clone ();
- in_LR->accumulate_frames (in_R.get(),
0, 0, in_R->frames ()
);
+ in_LR->accumulate_frames (in_R.get(),
in_R->frames(), 0, 0
);
in_LR->apply_gain (-6);
/* Run filters */
in_LR->apply_gain (-6);
/* Run filters */