summaryrefslogtreecommitdiff
path: root/RtAudio.h
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2007-08-07 17:14:58 +0000
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:22:03 +0200
commitd0f1bed24b26a63e0cf1b581454900c9e43b6bcb (patch)
tree402663c3b77c1b028c5fea576aa3a24e3547b20e /RtAudio.h
parent06a8d159ecd60f6623e6a7450ea614f75742277b (diff)
Updates to error handling (GS).
Diffstat (limited to 'RtAudio.h')
-rw-r--r--RtAudio.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/RtAudio.h b/RtAudio.h
index 322b04b..1c54e97 100644
--- a/RtAudio.h
+++ b/RtAudio.h
@@ -564,12 +564,6 @@ protected:
enum { FAILURE, SUCCESS };
- enum ErrorType {
- WARNING,
- INVALID_CALL,
- SYSTEM
- };
-
enum StreamState {
STREAM_STOPPED,
STREAM_RUNNING,
@@ -661,7 +655,7 @@ protected:
void verifyStream( void );
//! Protected common error method to allow global control over error handling.
- void error( ErrorType type );
+ void error( RtError::Type type );
/*!
Protected method used to perform format, channel number, and/or interleaving