VRFS-1328 - wire up faders to use audio taper curve instead of percentage

This commit is contained in:
Anthony Davis 2014-07-30 20:05:04 -05:00
parent 72155c7ea6
commit 70da64a26e
1 changed files with 2 additions and 2 deletions

View File

@ -1147,8 +1147,8 @@
// volumes on trackVolumeObject, and call SetControlState to stick.
var sliderValue = percentToMixerValue(
currentMixerRangeMin, currentMixerRangeMax, volumePercent);
context.trackVolumeObject.volL = sliderValue;
context.trackVolumeObject.volR = sliderValue;
context.trackVolumeObject.volL = context.JK.FaderHelpers.convertPercentToAudioTaper(volumePercent);
context.trackVolumeObject.volR = context.JK.FaderHelpers.convertPercentToAudioTaper(volumePercent);
// Special case for L2M mix:
if (mixerId === '__L2M__') {
logger.debug("L2M volumePercent=" + volumePercent);