mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-04-05 10:04:58 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user