Commit 1e1f912b authored by Stefan Westerfeld's avatar Stefan Westerfeld

Fix speed debug output.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 0abfb33c
......@@ -202,7 +202,11 @@ speed_scan (ThreadPool& thread_pool, const WavData& in_data, const SpeedScanPara
// we could search the N best matches, but using the best result works well in practice
SpeedSync::Score best_s = scores[0];
printf ("detect_speed_%.0f %f %f %f\n", params.seconds, best_s.speed, best_s.quality, 100 * fabs (speed - Params::detect_speed_hint) / Params::detect_speed_hint);
printf ("detect_speed_%.0f %f %f %f\n",
params.seconds,
best_s.speed,
best_s.quality,
100 * fabs (best_s.speed - Params::detect_speed_hint) / Params::detect_speed_hint);
return best_s.speed;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment