projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Create only one RtAudio instance, in the FilmViewer, rather than
[dcpomatic.git]
/
src
/
wx
/
film_viewer.h
diff --git
a/src/wx/film_viewer.h
b/src/wx/film_viewer.h
index aea3f8c8633465933af11c5e5ccad26610d87d4d..5d524de81b37c20ce4a5cb096969087dd9dbfa8c 100644
(file)
--- a/
src/wx/film_viewer.h
+++ b/
src/wx/film_viewer.h
@@
-112,6
+112,10
@@
public:
int errored () const;
int gets () const;
+ RtAudio& audio_backend() {
+ return _audio;
+ }
+
int audio_callback (void* out, unsigned int frames);
StateTimer const & state_timer () const {