X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.cc;h=e678c6aa3045cc9057d29c77ecd6cafbe2f69cbe;hp=22de7b5934c28751b8d73b2c14a3b56a24273249;hb=4d0356840c2f400b0376230a3d07f57897275f99;hpb=a3c663012ae1134bef0c36304d71ab319114cfcb diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 22de7b593..e678c6aa3 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -649,7 +649,7 @@ int FilmViewer::audio_callback (void* out_p, unsigned int frames) { while (true) { - auto t = _butler->get_audio (reinterpret_cast (out_p), frames); + auto t = _butler->get_audio (Butler::Behaviour::NON_BLOCKING, reinterpret_cast (out_p), frames); if (!t || DCPTime(uncorrected_time() - *t) < one_video_frame()) { /* There was an underrun or this audio is on time; carry on */ break;