diff options
author | jstebbins <[email protected]> | 2011-04-05 20:46:35 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-04-05 20:46:35 +0000 |
commit | 6c75ac124c15e395e3e8b004a188d262d8d3b692 (patch) | |
tree | 504cb94a43220b8d144a0c8b98a87c604fc55ffa /gtk/src/hb-backend.c | |
parent | d54c2303fdf029738bfc198b011a8dff725635cf (diff) |
LinGui: add audio gain adjustment and create advanced audio dialog.
Gain, DRC, and Sample Rate are now in an advanced audio dialog.
This makes the audio tab less crowded and makes room for future
improvements.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3903 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index f6061c564..f453f98d3 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -4684,6 +4684,9 @@ add_job(hb_handle_t *h, GValue *js, gint unique_id, gint titleindex) acodec = ghb_settings_combo_int(asettings, "AudioEncoder"); audio.out.codec = ghb_select_audio_codec(js, aconfig, acodec); + audio.out.gain = + ghb_settings_get_double(asettings, "AudioTrackGain"); + audio.out.dynamic_range_compression = ghb_settings_get_double(asettings, "AudioTrackDRCSlider"); if (audio.out.dynamic_range_compression < 1.0) |