diff --git a/libs/backends/portaudio/portaudio_io.h b/libs/backends/portaudio/portaudio_io.h index 661c6a07bb..8b04337c73 100644 --- a/libs/backends/portaudio/portaudio_io.h +++ b/libs/backends/portaudio/portaudio_io.h @@ -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