13
0

Define some error codes in PortAudioIO class

This commit is contained in:
Tim Mayberry 2015-08-24 09:06:26 +10:00
parent e42f9d649b
commit 4e75220661

View File

@ -37,6 +37,20 @@ public:
int state (void) const { return _state; }
enum ErrorCode {
NoError = 0,
InitializationError,
DeInitializationError,
DeviceConfigNotSupportedError,
StreamOpenError,
StreamStartError,
StreamStopError,
StreamCloseError,
IOError,
BufferUnderrunError,
BufferOverrunError
};
enum StandardDevices {
DeviceNone = -2,
DeviceDefault = -1