print audio scale adj in verbose mode

This can be particularly useful when scaling is misbehaving and user
has at least verbose logging to notice.
This commit is contained in:
Martin Pulec
2023-10-10 11:11:17 +02:00
parent 61544172c5
commit ea55e0f10d

View File

@@ -251,7 +251,9 @@ static void compute_scale(struct scale_data *scale_data, double vol_avg, int sam
scale_data->scale *= ratio;
scale_data->vol_avg *= ratio;
debug_msg("Audio scale adjusted to: %f (average volume was %f)\n", scale_data->scale, scale_data->vol_avg);
MSG(VERBOSE,
"Audio scale adjusted to: %f (average volume was %f)\n",
scale_data->scale, scale_data->vol_avg);
scale_data->samples = 4 * sample_rate;
}