diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-08 22:13:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-08 22:13:34 +0100 |
| commit | b83e61259c0244d5618c5ed9dcc8602205580886 (patch) | |
| tree | 82891f0510ec7f8f029a57d83b7a50f77c3fa778 /src/wx/config_dialog.cc | |
| parent | fbc94e2eec71240f3470a6a9cbe66a76fd3cbd7e (diff) | |
Remove references to / support for old RtError class (now RtAudioError).
Diffstat (limited to 'src/wx/config_dialog.cc')
| -rw-r--r-- | src/wx/config_dialog.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc index 40bb43407..957fd32db 100644 --- a/src/wx/config_dialog.cc +++ b/src/wx/config_dialog.cc @@ -886,11 +886,7 @@ SoundPage::setup () if (dev.probed && dev.outputChannels > 0) { _sound_output->Append (std_to_wx (dev.name)); } -#ifdef DCPOMATIC_USE_RTERROR - } catch (RtError&) { -#else } catch (RtAudioError&) { -#endif /* Something went wrong so let's just ignore that device */ } } @@ -927,11 +923,7 @@ SoundPage::sound_output_changed () string default_device; try { default_device = audio.getDeviceInfo(audio.getDefaultOutputDevice()).name; -#ifdef DCPOMATIC_USE_RTERROR - } catch (RtError&) { -#else } catch (RtAudioError&) { -#endif /* Never mind */ } if (!so || *so == default_device) { @@ -958,11 +950,7 @@ SoundPage::config_changed () RtAudio audio (DCPOMATIC_RTAUDIO_API); try { configured_so = audio.getDeviceInfo(audio.getDefaultOutputDevice()).name; -#ifdef DCPOMATIC_USE_RTERROR - } catch (RtError&) { -#else } catch (RtAudioError&) { -#endif /* Probably no audio devices at all */ } } @@ -1000,11 +988,7 @@ SoundPage::config_changed () if (info.name == *configured_so && info.outputChannels > 0) { channels = info.outputChannels; } -#ifdef DCPOMATIC_USE_RTERROR - } catch (RtError&) { -#else } catch (RtAudioError&) { -#endif /* Never mind */ } } |
