summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-11 00:48:32 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-11 00:48:32 +0100
commita28384c437b2931682feae72782de0a985dd6745 (patch)
tree657d390a42e1b88b95dd37ed758ebf7b95ea090b /src
parent4ea1bc85ee824156cc0fee3c3bfa35dd52fe95cd (diff)
Bump rtaudio for a more detailed error, and report that error in one place.master-rtaudio
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_viewer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 726d5c918..4e0fb39ba 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -668,7 +668,8 @@ FilmViewer::config_changed (Config::Property p)
if (_audio.getDeviceInfo(st).name == Config::instance()->sound_output().get()) {
break;
}
- } catch (RtAudioError&) {
+ } catch (RtAudioError& e) {
+ std::cerr << "RtAudio: " << e.what() << "\n";
/* Something went wrong with the device so we don't want to use it anyway */
}
++st;