Updated to new releases of RtAudio and RtMidi.

This commit is contained in:
Gary Scavone
2014-04-11 09:29:42 -04:00
parent 3ee62e42d0
commit caf7d2f2eb
10 changed files with 2751 additions and 1926 deletions

View File

@@ -255,7 +255,7 @@ bool Messager :: startMidiInput( int port )
if ( port == -1 ) data_.midi->openVirtualPort();
else data_.midi->openPort( (unsigned int)port );
}
catch ( RtError &error ) {
catch ( RtMidiError &error ) {
oStream_ << "Messager::startMidiInput: error creating RtMidiIn instance (" << error.getMessage() << ").";
handleError( StkError::WARNING );
return false;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -86,7 +86,7 @@ RtWvIn :: RtWvIn( unsigned int nChannels, StkFloat sampleRate, int device, int b
try {
adc_.openStream( NULL, &parameters, format, (unsigned int)Stk::sampleRate(), &size, &read, (void *)this );
}
catch ( RtError &error ) {
catch ( RtAudioError &error ) {
handleError( error.what(), StkError::AUDIO_SYSTEM );
}

View File

@@ -107,7 +107,7 @@ RtWvOut :: RtWvOut( unsigned int nChannels, StkFloat sampleRate, int device, int
try {
dac_.openStream( &parameters, NULL, format, (unsigned int)Stk::sampleRate(), &size, &write, (void *)this );
}
catch ( RtError &error ) {
catch ( RtAudioError &error ) {
handleError( error.what(), StkError::AUDIO_SYSTEM );
}