summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-03-15 23:39:25 +0000
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commitfe99d14e3047e9302e94db372923c92291016f1c (patch)
tree7a826e545927e576794af532fb403506f33603a7 /src/wx/wx_util.h
parent81301e260bad6944a75b3d20c1be4f2ff9929db7 (diff)
First bits of audio support.
Diffstat (limited to 'src/wx/wx_util.h')
-rw-r--r--src/wx/wx_util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h
index 44a2a8212..0e12e59de 100644
--- a/src/wx/wx_util.h
+++ b/src/wx/wx_util.h
@@ -52,6 +52,16 @@ class wxGridBagSizer;
#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::WINDOWS_WASAPI
+#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
* in different contexts.