Various attempted fixes to audio sync.
[dcpomatic.git] / src / lib / analyse_audio_job.cc
index 3f84bf16d7cc819240b8695a3628f962cd013ab0..872947b55d3d56cac4a957ca561bc5944a81d34c 100644 (file)
@@ -69,7 +69,7 @@ AnalyseAudioJob::run ()
        _analysis.reset (new AudioAnalysis (_film->audio_channels ()));
 
        _done = 0;
-       OutputAudioFrame const len = _film->time_to_audio_frames (_film->length ());
+       AudioFrame const len = _film->time_to_audio_frames (_film->length ());
        while (!player->pass ()) {
                set_progress (double (_done) / len);
        }