}
_film = film;
+ _video_position = DCPTime ();
+ _player_video.first.reset ();
+ _player_video.second = DCPTime ();
_frame.reset ();
_closed_captions_dialog->clear ();
if (next >= _film->length()) {
stop ();
+ Finished ();
+ return;
}
_timer.Start (max ((next.seconds() - time().seconds()) * 1000, 1.0), wxTIMER_ONE_SHOT);
}
_audio_channels = _audio.getDeviceInfo(st).outputChannels;
- cout << "RtAudio reports " << _audio_channels << " channels.\n";
RtAudio::StreamParameters sp;
sp.deviceId = st;