mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Define some error codes in PortAudioIO class
This commit is contained in:
parent
e42f9d649b
commit
4e75220661
1 changed files with 14 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue