diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2013-04-15 17:56:31 +0000 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 01:38:32 +0200 |
| commit | 91b2f327e23d13ffaae84f83c1f672aa55e8a694 (patch) | |
| tree | a55e50c0f10146585f6685f210ea01c7a9bc8d83 /RtAudio.h | |
| parent | 906e5ba67f7c253655b7f1a29b832bb7852e1126 (diff) | |
A few more updates, including new ASIO files (GS).
Diffstat (limited to 'RtAudio.h')
| -rw-r--r-- | RtAudio.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -10,7 +10,7 @@ RtAudio WWW site: http://www.music.mcgill.ca/~gary/rtaudio/ RtAudio: realtime audio i/o C++ classes - Copyright (c) 2001-2012 Gary P. Scavone + Copyright (c) 2001-2013 Gary P. Scavone Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files @@ -42,8 +42,6 @@ \file RtAudio.h */ -// RtAudio: Version 4.0.12 - #ifndef __RTAUDIO_H #define __RTAUDIO_H @@ -51,6 +49,9 @@ #include <vector> #include "RtError.h" +// RtAudio version +static const std::string VERSION( "4.0.12" ); + /*! \typedef typedef unsigned long RtAudioFormat; \brief RtAudio data format type. @@ -320,6 +321,9 @@ class RtAudio : flags(0), numberOfBuffers(0), priority(0) {} }; + //! A static function to determine the current RtAudio version. + static std::string getVersion( void ) { return VERSION; } + //! A static function to determine the available compiled audio APIs. /*! The values returned in the std::vector can be compared against |
