summaryrefslogtreecommitdiff
path: root/RtAudio.h
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2014-01-06 16:53:30 -0800
committerGary Scavone <gary@music.mcgill.ca>2014-01-06 16:53:30 -0800
commitee76af899f7f27f4784d3bbae27f2c63f0f1e6ce (patch)
treea511dce650149d3969c50e0b685136a56a113901 /RtAudio.h
parent9d0703f03ac2972409816f147e2141b3fe315a54 (diff)
Updates to OS-X sample rate querying, other small changes suggested by Martin Koegler.
Diffstat (limited to 'RtAudio.h')
-rw-r--r--RtAudio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/RtAudio.h b/RtAudio.h
index d1fbd65..f8285c0 100644
--- a/RtAudio.h
+++ b/RtAudio.h
@@ -45,13 +45,13 @@
#ifndef __RTAUDIO_H
#define __RTAUDIO_H
+#define RTAUDIO_VERSION "4.1.0pre"
+
#include <string>
#include <vector>
#include <exception>
#include <iostream>
-// RtAudio version: 4.1.0pre
-
/*! \typedef typedef unsigned long RtAudioFormat;
\brief RtAudio data format type.
@@ -373,7 +373,7 @@ class RtAudio
};
//! A static function to determine the current RtAudio version.
- static std::string getVersion( void ) { return "4.1.0"; }
+ static std::string getVersion( void ) throw();
//! A static function to determine the available compiled audio APIs.
/*!
@@ -760,7 +760,7 @@ protected:
std::string errorText_;
bool showWarnings_;
RtApiStream stream_;
- bool firstErrorOccurred;
+ bool firstErrorOccurred_;
/*!
Protected, api-specific method that attempts to open a device