projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Templatise TimePeriod and add DCPTimePeriod.
[dcpomatic.git]
/
src
/
lib
/
dolby_cp750.cc
diff --git
a/src/lib/dolby_cp750.cc
b/src/lib/dolby_cp750.cc
index 162626ff06435c65998d284d6f9307aa63f15b21..35f044630bea86a00b5700fe12aa8e65a7284903 100644
(file)
--- a/
src/lib/dolby_cp750.cc
+++ b/
src/lib/dolby_cp750.cc
@@
-24,7
+24,7
@@
using namespace std;
DolbyCP750::DolbyCP750 ()
using namespace std;
DolbyCP750::DolbyCP750 ()
- :
SoundProcessor ("dolby_cp750", _("Dolby
CP750"))
+ :
CinemaSoundProcessor ("dolby_cp750", _("Dolby CP650 and
CP750"))
{
}
{
}
@@
-39,7
+39,7
@@
DolbyCP750::db_for_fader_change (float from, float to) const
float const t = min (to, 4.0f);
db += (t - from) * 20;
}
float const t = min (to, 4.0f);
db += (t - from) * 20;
}
-
+
if (to > 4) {
float const t = max (from, 4.0f);
db += (to - t) * 3.33333333333333333;
if (to > 4) {
float const t = max (from, 4.0f);
db += (to - t) * 3.33333333333333333;