Bump rtaudio for a more detailed error, and report that error in one place. master-rtaudio
authorCarl Hetherington <cth@carlh.net>
Tue, 10 Nov 2020 23:48:32 +0000 (00:48 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 10 Nov 2020 23:48:32 +0000 (00:48 +0100)
cscript
src/wx/film_viewer.cc

diff --git a/cscript b/cscript
index 14b5aac419534dcebdf4aff2052e08c005dac8d5..20f360e922c6c20fcefb01e72f8b6263ce13e06b 100644 (file)
--- 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
 
index 726d5c918a4ea0db0f95bfa00786cdd777294cd1..4e0fb39baab6d5765b61f491551c77c75f002f79 100644 (file)
@@ -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;