summaryrefslogtreecommitdiff
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
parent4ea1bc85ee824156cc0fee3c3bfa35dd52fe95cd (diff)
Bump rtaudio for a more detailed error, and report that error in one place.master-rtaudio
-rw-r--r--cscript2
-rw-r--r--src/wx/film_viewer.cc3
2 files changed, 3 insertions, 2 deletions
diff --git a/cscript b/cscript
index 14b5aac41..20f360e92 100644
--- a/cscript
+++ b/cscript
@@ -327,7 +327,7 @@ def dependencies(target):
deps.append(('libdcp', 'v1.6.16'))
deps.append(('libsub', 'v1.4.23'))
- deps.append(('rtaudio-cdist', 'bf0fc23'))
+ deps.append(('rtaudio-cdist', 'f9e5a84'))
return deps
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;