Browse Source

Merge 4.0.1 into releases

tags/4.0.1
Stephen Sinclair 12 years ago
parent
commit
f467eb4624
3 changed files with 8 additions and 3 deletions
  1. +4
    -2
      RtAudio.cpp
  2. +1
    -1
      doc/doxygen/tutorial.txt
  3. +3
    -0
      doc/release.txt

+ 4
- 2
RtAudio.cpp View File

@@ -5906,7 +5906,9 @@ extern "C" void *alsaCallbackHandler( void *ptr )
#ifdef SCHED_RR
// Set a higher scheduler priority (P.J. Leonard)
struct sched_param param;
param.sched_priority = 39; // Is this the best number?
int min = sched_get_priority_min( SCHED_RR );
int max = sched_get_priority_max( SCHED_RR );
param.sched_priority = min + ( max - min ) / 2; // Is this the best number?
sched_setscheduler( 0, SCHED_RR, &param );
#endif

@@ -6832,7 +6834,7 @@ extern "C" void *ossCallbackHandler( void *ptr )
// message printing.
void RtApi :: error( RtError::Type type )
{
if ( type == RtError::RtError::WARNING && showWarnings_ == true )
if ( type == RtError::WARNING && showWarnings_ == true )
std::cerr << '\n' << errorText_ << "\n\n";
else
throw( RtError( errorText_, type ) );


+ 1
- 1
doc/doxygen/tutorial.txt View File

@@ -32,7 +32,7 @@ Devices are now re-enumerated every time the RtAudio::getDeviceCount(), RtAudio:

\section download Download

Latest Release (7 August 2007): <A href="http://music.mcgill.ca/~gary/rtaudio/release/rtaudio-4.0.0.tar.gz">Version 4.0.0</A>
Latest Release (13 August 2007): <A href="http://music.mcgill.ca/~gary/rtaudio/release/rtaudio-4.0.1.tar.gz">Version 4.0.1</A>

\section documentation Documentation Links



+ 3
- 0
doc/release.txt View File

@@ -2,6 +2,9 @@ RtAudio - a set of C++ classes that provide a common API for realtime audio inpu

By Gary P. Scavone, 2001-2007.

v4.0.1: (13 August 2007)
- fix to RtError::WARNING typo in RtAudio.cpp

v4.0.0: (7 August 2007)
- new support for non-interleaved user data
- additional input/output parameter specifications, including channel offset


Loading…
Cancel
Save