From a28384c437b2931682feae72782de0a985dd6745 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 11 Nov 2020 00:48:32 +0100 Subject: Bump rtaudio for a more detailed error, and report that error in one place. --- cscript | 2 +- src/wx/film_viewer.cc | 3 ++- 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; -- cgit v1.2.3