diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-30 22:15:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-30 22:15:48 +0100 |
| commit | 595d3ce932864fa5fb35cf9f52ac50178b8bd173 (patch) | |
| tree | ef15a89002c252f674a1a785708b516159d335dc /src/wx/film_viewer.h | |
| parent | a467249e1eb0dd1c19be19d040b9ded2eee42ef9 (diff) | |
Support RtAudio >= 6.
There's an API break, mostly about removing the use of exceptions.
Diffstat (limited to 'src/wx/film_viewer.h')
| -rw-r--r-- | src/wx/film_viewer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 0442dac71..5824f8baa 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -171,6 +171,13 @@ private: void ui_finished (); void start_audio_stream_if_open (); +#if (RTAUDIO_VERSION_MAJOR >= 6) + void rtaudio_error_callback(std::string const& error); + mutable boost::mutex _last_rtaudio_error_mutex; + std::string _last_rtaudio_error; + std::string last_rtaudio_error() const; +#endif + dcpomatic::DCPTime uncorrected_time () const; Frame average_latency () const; |
