Define some error codes in PortAudioIO class
This commit is contained in:
parent
e42f9d649b
commit
4e75220661
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user