diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-13 14:40:50 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-13 14:40:50 (GMT) |
commit | cb911c337f3570972f293dae0ec4a71f9935e79e (patch) | |
tree | 004cfc00854b02c02251a4f34c9543551429833f /rhimport/core.go | |
parent | 092da9dfacbcb5afcd2d3f281f664543ee956f4e (diff) |
very basic support for loudness correction
Diffstat (limited to 'rhimport/core.go')
-rw-r--r-- | rhimport/core.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rhimport/core.go b/rhimport/core.go index 0e596ba..5dd0355 100644 --- a/rhimport/core.go +++ b/rhimport/core.go @@ -134,6 +134,7 @@ type Context struct { DeleteSourceFile bool DeleteSourceDir bool SourceFilePolicy FilePolicy + LoudnessCorr float64 ProgressCallBack ProgressCB ProgressCallBackData interface{} Cancel <-chan bool @@ -162,6 +163,7 @@ func NewContext(conf *Config, db *rddb.DBChan) *Context { ctx.SourceFile = "" ctx.DeleteSourceFile = false ctx.DeleteSourceDir = false + ctx.LoudnessCorr = 0.0 ctx.SourceFilePolicy = Auto ctx.ProgressCallBack = nil ctx.Cancel = nil |