@@ -37,7 +37,7 @@ | |||||
*/ | */ | ||||
/************************************************************************/ | /************************************************************************/ | ||||
// RtAudio: Version 3.0, 11 March 2004 | |||||
// RtAudio: Version 3.0.1, 22 March 2004 | |||||
#include "RtAudio.h" | #include "RtAudio.h" | ||||
#include <iostream> | #include <iostream> | ||||
@@ -5489,7 +5489,7 @@ void RtApiDs :: probeDeviceInfo(RtApiDevice *info) | |||||
} | } | ||||
else { | else { | ||||
// Check input rates against output rate range. | // Check input rates against output rate range. | ||||
for ( unsigned int i=info->sampleRates.size()-1; i>=0; i-- ) { | |||||
for ( int i=info->sampleRates.size()-1; i>=0; i-- ) { | |||||
if ( (unsigned int) info->sampleRates[i] > out_caps.dwMaxSecondarySampleRate ) | if ( (unsigned int) info->sampleRates[i] > out_caps.dwMaxSecondarySampleRate ) | ||||
info->sampleRates.erase( info->sampleRates.begin() + i ); | info->sampleRates.erase( info->sampleRates.begin() + i ); | ||||
} | } | ||||
@@ -37,7 +37,7 @@ | |||||
*/ | */ | ||||
/************************************************************************/ | /************************************************************************/ | ||||
// RtAudio: Version 3.0, 11 March 2004 | |||||
// RtAudio: Version 3.0.1, 22 March 2004 | |||||
#ifndef __RTAUDIO_H | #ifndef __RTAUDIO_H | ||||
#define __RTAUDIO_H | #define __RTAUDIO_H | ||||
@@ -186,8 +186,7 @@ protected: | |||||
RtApiStream() | RtApiStream() | ||||
:apiHandle(0), userBuffer(0), deviceBuffer(0) {} | :apiHandle(0), userBuffer(0), deviceBuffer(0) {} | ||||
// :apiHandle(0), mode(UNINITIALIZED), state(STREAM_STOPPED), | |||||
// userBuffer(0), deviceBuffer(0) {} | |||||
// mode(UNINITIALIZED), state(STREAM_STOPPED), | |||||
}; | }; | ||||
// A protected device structure for audio devices. | // A protected device structure for audio devices. | ||||
@@ -38,7 +38,7 @@ The RtError class declaration and definition have been extracted to a separate f | |||||
\section download Download | \section download Download | ||||
Latest Release (11 March 2004): <A href="http://music.mcgill.ca/~gary/rtaudio/release/rtaudio-3.0.tar.gz">Version 3.0 (200 kB tar/gzipped)</A> | |||||
Latest Release (22 March 2004): <A href="http://music.mcgill.ca/~gary/rtaudio/release/rtaudio-3.0.1.tar.gz">Version 3.0.1 (200 kB tar/gzipped)</A> | |||||
\section start Getting Started | \section start Getting Started | ||||
@@ -2,6 +2,9 @@ RtAudio - a set of C++ classes which provide a common API for realtime audio inp | |||||
By Gary P. Scavone, 2001-2004. | By Gary P. Scavone, 2001-2004. | ||||
v3.0.1: (22 March 2004) | |||||
- bug fix in Windows DirectSound support for cards with output only | |||||
v3.0: (11 March 2004) | v3.0: (11 March 2004) | ||||
- added Linux Jack audio server support | - added Linux Jack audio server support | ||||
- new multi-api support by subclassing all apis and making rtaudio a controller class | - new multi-api support by subclassing all apis and making rtaudio a controller class | ||||