diff --git a/doc/ReleaseNotes.txt b/doc/ReleaseNotes.txt
index 5f2b3da..84f1f0d 100644
--- a/doc/ReleaseNotes.txt
+++ b/doc/ReleaseNotes.txt
@@ -2,6 +2,9 @@ The Synthesis ToolKit in C++ (STK)
By Perry R. Cook and Gary P. Scavone, 1995-2004.
+v4.1.3: (22 March 2004)
+- bug fix in RtAudio for Windows DirectSound output only support
+
v4.1.2: (15 March 2004)
- added Linux JACK support to RtAudio
- added optional doNormalize argument to WvIn to allow specification of data normalization or not
diff --git a/doc/doxygen/download.txt b/doc/doxygen/download.txt
index d988c52..fb448f6 100644
--- a/doc/doxygen/download.txt
+++ b/doc/doxygen/download.txt
@@ -1,15 +1,21 @@
/*! \page download Download and Release Notes
-Version 4.1.2, 15 March 2004
+Version 4.1.3, 22 March 2004
\section notes Release Notes:
+\subsection v4dot1dot3 Version 4.1.3
+
+
+- Bug fix in RtAudio for Windows DirectSound output only support
+
+
\subsection v4dot1dot2 Version 4.1.2
diff --git a/include/RtAudio.h b/include/RtAudio.h
index 2b2ac0d..fa2d494 100644
--- a/include/RtAudio.h
+++ b/include/RtAudio.h
@@ -37,7 +37,7 @@
*/
/************************************************************************/
-// RtAudio: Version 3.0, 1 March 2004
+// RtAudio: Version 3.0.1, 22 March 2004
#ifndef __RTAUDIO_H
#define __RTAUDIO_H
@@ -186,8 +186,7 @@ protected:
RtApiStream()
: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.
diff --git a/src/RtAudio.cpp b/src/RtAudio.cpp
index 392f183..767908d 100644
--- a/src/RtAudio.cpp
+++ b/src/RtAudio.cpp
@@ -37,7 +37,7 @@
*/
/************************************************************************/
-// RtAudio: Version 3.0, 1 March 2004
+// RtAudio: Version 3.0.1, 22 March 2004
#include "RtAudio.h"
#include
@@ -5489,7 +5489,7 @@ void RtApiDs :: probeDeviceInfo(RtApiDevice *info)
}
else {
// 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 )
info->sampleRates.erase( info->sampleRates.begin() + i );
}