summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.cc')
-rw-r--r--src/wx/film_viewer.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 987fd5b39..4aba8773a 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -603,10 +603,9 @@ FilmViewer::config_changed (Config::Property p)
}
auto backend = AudioBackend::instance();
- auto& audio = backend->rtaudio();
if (backend->stream_open()) {
- audio.closeStream();
+ backend->close_stream();
}
if (Config::instance()->sound() && backend->device_count() > 0) {