diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2009-01-30 18:50:01 +0000 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 01:38:24 +0200 |
| commit | 94cc197efbeecaea4b0b5a55811ec7c1bbf2f20c (patch) | |
| tree | ebb20a68e73d16117d88364a11ad14754d40e67d /RtAudio.cpp | |
| parent | ad768de27c78093a6000a4f00d1baeca8ca5ce37 (diff) | |
Minor error message fixes in DS api (GS).
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index b66734e..cd427f3 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -4411,7 +4411,7 @@ void RtApiDs :: stopStream() LPDIRECTSOUNDBUFFER buffer = (LPDIRECTSOUNDBUFFER) handle->buffer[0]; result = buffer->Stop(); if ( FAILED( result ) ) { - errorStream_ << "RtApiDs::abortStream: error (" << getErrorString( result ) << ") stopping output buffer!"; + errorStream_ << "RtApiDs::stopStream: error (" << getErrorString( result ) << ") stopping output buffer!"; errorText_ = errorStream_.str(); goto unlock; } @@ -4420,7 +4420,7 @@ void RtApiDs :: stopStream() // we won't have old data playing. result = buffer->Lock( 0, handle->dsBufferSize[0], &audioPtr, &dataLen, NULL, NULL, 0 ); if ( FAILED( result ) ) { - errorStream_ << "RtApiDs::abortStream: error (" << getErrorString( result ) << ") locking output buffer!"; + errorStream_ << "RtApiDs::stopStream: error (" << getErrorString( result ) << ") locking output buffer!"; errorText_ = errorStream_.str(); goto unlock; } @@ -4431,7 +4431,7 @@ void RtApiDs :: stopStream() // Unlock the DS buffer result = buffer->Unlock( audioPtr, dataLen, NULL, 0 ); if ( FAILED( result ) ) { - errorStream_ << "RtApiDs::abortStream: error (" << getErrorString( result ) << ") unlocking output buffer!"; + errorStream_ << "RtApiDs::stopStream: error (" << getErrorString( result ) << ") unlocking output buffer!"; errorText_ = errorStream_.str(); goto unlock; } @@ -4447,7 +4447,7 @@ void RtApiDs :: stopStream() result = buffer->Stop(); if ( FAILED( result ) ) { - errorStream_ << "RtApiDs::abortStream: error (" << getErrorString( result ) << ") stopping input buffer!"; + errorStream_ << "RtApiDs::stopStream: error (" << getErrorString( result ) << ") stopping input buffer!"; errorText_ = errorStream_.str(); goto unlock; } @@ -4456,7 +4456,7 @@ void RtApiDs :: stopStream() // we won't have old data playing. result = buffer->Lock( 0, handle->dsBufferSize[1], &audioPtr, &dataLen, NULL, NULL, 0 ); if ( FAILED( result ) ) { - errorStream_ << "RtApiDs::abortStream: error (" << getErrorString( result ) << ") locking input buffer!"; + errorStream_ << "RtApiDs::stopStream: error (" << getErrorString( result ) << ") locking input buffer!"; errorText_ = errorStream_.str(); goto unlock; } @@ -4467,7 +4467,7 @@ void RtApiDs :: stopStream() // Unlock the DS buffer result = buffer->Unlock( audioPtr, dataLen, NULL, 0 ); if ( FAILED( result ) ) { - errorStream_ << "RtApiDs::abortStream: error (" << getErrorString( result ) << ") unlocking input buffer!"; + errorStream_ << "RtApiDs::stopStream: error (" << getErrorString( result ) << ") unlocking input buffer!"; errorText_ = errorStream_.str(); goto unlock; } |
