Should this

# only support track gain for remote streams
if ($track->remote) {
return preventClipping( $track->replay_gain() ||
$prefs->client($client)->get('remoteReplayGain'), $track->replay_peak()
);
}

be 

if ($track->remote && client($client)->get('remoteReplayGain'))

To avoid the preventClipping() call when the pref is set to zero?


------------------------------------------------------------------------
JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=98845

_______________________________________________
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to