diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-07-25 14:46:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-07-26 11:39:59 +0200 |
| commit | 051bac905d3ab8776c804e0e21fecd4c49927549 (patch) | |
| tree | 07fef88f1fa0c53fca71098b63caec8589b0c9cb /src/wx/wx_util.h | |
| parent | c7d5e56219f39a6304be9644cc577d89be16b7de (diff) | |
Stop instantiating RtAudio all over the place
and instead just have a singleton. On Windows I saw a situation where
the first instantiation would use ASIO and the second WASAPI, causing
all kinds of confusion.
Diffstat (limited to 'src/wx/wx_util.h')
| -rw-r--r-- | src/wx/wx_util.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index 66b01640c..c85af1d4f 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -86,16 +86,6 @@ class PasswordEntry; #define DCPOMATIC_BUTTON_STACK_GAP 0 #endif -#ifdef DCPOMATIC_LINUX -#define DCPOMATIC_RTAUDIO_API RtAudio::LINUX_PULSE -#endif -#ifdef DCPOMATIC_WINDOWS -#define DCPOMATIC_RTAUDIO_API RtAudio::UNSPECIFIED -#endif -#ifdef DCPOMATIC_OSX -#define DCPOMATIC_RTAUDIO_API RtAudio::MACOSX_CORE -#endif - /** i18n macro to support strings like Context|String * so that `String' can be translated to different things |
