projects
/
rtaudio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Case sensitive header perhaps?
[rtaudio.git]
/
RtAudio.h
diff --git
a/RtAudio.h
b/RtAudio.h
index a9fa6504a6c9069fd9c402c60ee0a81bd6a137f4..f37b9c268df86f01ca4cfd5ed014548909056a2c 100644
(file)
--- a/
RtAudio.h
+++ b/
RtAudio.h
@@
-47,6
+47,16
@@
#define RTAUDIO_VERSION "5.0.0"
#define RTAUDIO_VERSION "5.0.0"
+#if defined _WIN32 || defined __CYGWIN__
+ #define RTAUDIO_DLL_PUBLIC
+#else
+ #if __GNUC__ >= 4
+ #define RTAUDIO_DLL_PUBLIC __attribute__( (visibility( "default" )) )
+ #else
+ #define RTAUDIO_DLL_PUBLIC
+ #endif
+#endif
+
#include <string>
#include <vector>
#include <stdexcept>
#include <string>
#include <vector>
#include <stdexcept>
@@
-200,7
+210,7
@@
typedef int (*RtAudioCallback)( void *outputBuffer, void *inputBuffer,
*/
/************************************************************************/
*/
/************************************************************************/
-class RtAudioError : public std::runtime_error
+class R
TAUDIO_DLL_PUBLIC R
tAudioError : public std::runtime_error
{
public:
//! Defined RtAudioError types.
{
public:
//! Defined RtAudioError types.
@@
-260,7
+270,7
@@
typedef void (*RtAudioErrorCallback)( RtAudioError::Type type, const std::string
class RtApi;
class RtApi;
-class RtAudio
+class R
TAUDIO_DLL_PUBLIC R
tAudio
{
public:
{
public:
@@
-671,7
+681,7
@@
class S24 {
#include <sstream>
#include <sstream>
-class RtApi
+class R
TAUDIO_DLL_PUBLIC R
tApi
{
public:
{
public:
@@
-1003,7
+1013,7
@@
class RtApiWasapi : public RtApi
{
public:
RtApiWasapi();
{
public:
RtApiWasapi();
- ~RtApiWasapi();
+
virtual
~RtApiWasapi();
RtAudio::Api getCurrentApi( void ) { return RtAudio::WINDOWS_WASAPI; }
unsigned int getDeviceCount( void );
RtAudio::Api getCurrentApi( void ) { return RtAudio::WINDOWS_WASAPI; }
unsigned int getDeviceCount( void );