- while (!player->pass ()) {
- set_progress (double (_film->audio_frames_to_time (_done)) / _film->length ());
+ DCPTime const block = DCPTime::from_seconds (1.0 / 8);
+ for (DCPTime t; t < _film->length(); t += block) {
+ analyse (player->get_audio (t, block, false));
+ set_progress (t.seconds() / _film->length().seconds());