diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-08 21:40:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-08 21:40:43 +0100 |
| commit | e91ab84201d0ccb1ec7aff3c410a8ced9e62f62f (patch) | |
| tree | aa4c8d9ec612b7435b76115538b7c47a017848f3 | |
| parent | edbd3d482734fcd12985252932918776f9ee0bad (diff) | |
Remove checks/support for obsolete RtError class (now RtAudioError).
| -rw-r--r-- | src/wx/film_viewer.cc | 4 | ||||
| -rw-r--r-- | src/wx/wscript | 11 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 428b5c4fa..c05e76f83 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -684,11 +684,7 @@ FilmViewer::config_changed (Config::Property p) sp.firstChannel = 0; try { _audio.openStream (&sp, 0, RTAUDIO_FLOAT32, 48000, &_audio_block_size, &rtaudio_callback, this); -#ifdef DCPOMATIC_USE_RTERROR - } catch (RtError& e) { -#else } catch (RtAudioError& e) { -#endif error_dialog ( _panel, _("Could not set up audio output. There will be no audio during the preview."), std_to_wx(e.what()) diff --git a/src/wx/wscript b/src/wx/wscript index 105a61f2d..aabe0c32d 100644 --- a/src/wx/wscript +++ b/src/wx/wscript @@ -233,17 +233,6 @@ def configure(conf): conf.env.LIB_RTAUDIO.append('mfuuid') conf.env.LIB_RTAUDIO.append('wmcodecdspuuid') - conf.check_cxx(fragment=""" - #include <RtAudio.h>\n - int main() { throw RtError("Hello"); } - """, - msg='Checking for RtError class', - use='RTAUDIO', - uselib_store='', - define_name='DCPOMATIC_USE_RTERROR', - mandatory=False) - - def build(bld): if bld.env.STATIC_DCPOMATIC: |
