From a9a654862f0bc7f463c9844b20a86f35bfa037c4 Mon Sep 17 00:00:00 2001 From: Gary Scavone Date: Fri, 11 Apr 2014 09:52:02 -0400 Subject: [PATCH] A few more RtError updates in documentation and .dsp files. --- doc/ReleaseNotes.txt | 5 +++-- doc/doxygen/fundamentals.txt | 2 +- projects/demo/Md2Skini.cpp | 4 ++-- projects/examples/audioprobe.dsp | 5 ----- projects/examples/duplex.dsp | 5 ----- projects/examples/midiprobe.dsp | 4 ---- 6 files changed, 6 insertions(+), 19 deletions(-) diff --git a/doc/ReleaseNotes.txt b/doc/ReleaseNotes.txt index 7c22901..b48ef4e 100644 --- a/doc/ReleaseNotes.txt +++ b/doc/ReleaseNotes.txt @@ -2,8 +2,9 @@ The Synthesis ToolKit in C++ (STK) By Perry R. Cook and Gary P. Scavone, 1995--2014. -v4.4.5: (?? April 2014) -- updated versions of RtAudio and RtMidi +v4.5.0: (?? April 2014) +- updated versions of RtAudio and RtMidi, with associated renaming of RtError class to either RtAudioError or RtMidiError + v4.4.4: (24 August 2012) - new FreeVerb class (thanks to Greg Burlet) diff --git a/doc/doxygen/fundamentals.txt b/doc/doxygen/fundamentals.txt index 9ada45e..45927f0 100644 --- a/doc/doxygen/fundamentals.txt +++ b/doc/doxygen/fundamentals.txt @@ -1,6 +1,6 @@ /*! \page fundamentals STK Fundamentals -The Synthesis ToolKit is implemented in the C++ programming language. STK does not attempt to provide a new programming environment or paradigm but rather provides a set of objects that can be used within a normal C++ programming framework. Therefore, it is expected that users of STK will have some familiarity with C/C++ programming concepts. That said, the STK classes do have some particular idiosyncrasies that we will mention here. Starting with STK version 4.4, all STK classes except RtAudio, RtMidi, and RtError are defined within the stk namespace. +The Synthesis ToolKit is implemented in the C++ programming language. STK does not attempt to provide a new programming environment or paradigm but rather provides a set of objects that can be used within a normal C++ programming framework. Therefore, it is expected that users of STK will have some familiarity with C/C++ programming concepts. That said, the STK classes do have some particular idiosyncrasies that we will mention here. Starting with STK version 4.4, all STK classes except RtAudio and RtMidi are defined within the stk namespace. \section Signal Computations: diff --git a/projects/demo/Md2Skini.cpp b/projects/demo/Md2Skini.cpp index d860f76..be0e569 100644 --- a/projects/demo/Md2Skini.cpp +++ b/projects/demo/Md2Skini.cpp @@ -212,7 +212,7 @@ int main( int argc,char *argv[] ) try { midiin = new RtMidiIn(); } - catch (RtError &error) { + catch (RtMidiError &error) { error.printMessage(); if ( file != NULL ) fclose( file ); exit(EXIT_FAILURE); @@ -233,7 +233,7 @@ int main( int argc,char *argv[] ) try { midiin->openPort( port ); } - catch (RtError &error) { + catch (RtMidiError &error) { error.printMessage(); goto cleanup; } diff --git a/projects/examples/audioprobe.dsp b/projects/examples/audioprobe.dsp index b6a43dc..452f2e7 100755 --- a/projects/examples/audioprobe.dsp +++ b/projects/examples/audioprobe.dsp @@ -151,11 +151,6 @@ SOURCE=..\..\include\RtAudio.h # End Source File # Begin Source File -SOURCE=..\..\include\RtError.h -# End Source File -# End Group -# Begin Group "Resource Files" - # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # End Group # End Target diff --git a/projects/examples/duplex.dsp b/projects/examples/duplex.dsp index a15b558..020d9b7 100755 --- a/projects/examples/duplex.dsp +++ b/projects/examples/duplex.dsp @@ -151,11 +151,6 @@ SOURCE=..\..\include\RtAudio.h # End Source File # Begin Source File -SOURCE=..\..\include\RtError.h -# End Source File -# End Group -# Begin Group "Resource Files" - # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # End Group # End Target diff --git a/projects/examples/midiprobe.dsp b/projects/examples/midiprobe.dsp index 0c03b2b..10002ba 100755 --- a/projects/examples/midiprobe.dsp +++ b/projects/examples/midiprobe.dsp @@ -99,10 +99,6 @@ SOURCE=..\..\src\RtMidi.cpp # PROP Default_Filter "h;hpp;hxx;hm;inl" # Begin Source File -SOURCE=..\..\include\RtError.h -# End Source File -# Begin Source File - SOURCE=..\..\include\RtMidi.h # End Source File # End Group