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
\file RtAudio.h
*/
-// RtAudio: Version 4.0.12
-
#ifndef __RTAUDIO_H
#define __RTAUDIO_H
#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.
: 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