summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-04-05 20:42:40 +0000
committerjstebbins <[email protected]>2011-04-05 20:42:40 +0000
commitd54c2303fdf029738bfc198b011a8dff725635cf (patch)
treebed56a8bb6d6fc30d069ee1512424e5c5c5f930a /libhb/common.c
parent5219abc822c4baf15fea05de6042e86f3a1cb9cf (diff)
Add audio gain adjustment to libhb and CLI
New CLI option is --gain <float>. Value is measured in dB. Negative values are quieter, positive values are louder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3902 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 2387aa4ef..4c382e57c 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -1222,6 +1222,7 @@ int hb_audio_add(const hb_job_t * job, const hb_audio_config_t * audiocfg)
audio->config.out.bitrate = audiocfg->out.bitrate;
audio->config.out.dynamic_range_compression = audiocfg->out.dynamic_range_compression;
audio->config.out.mixdown = audiocfg->out.mixdown;
+ audio->config.out.gain = audiocfg->out.gain;
}
hb_list_add(job->list_audio, audio);