Chapter 1. Error codes

All functions return int (or some sort of signed value). If this value is negative it represents an error code. Codes up to SND_ERROR_BEGIN (500000) represent standard system errors. Codes equal to or greather than this value represent sound library API errors. All error codes begin with the prefix >SND_ERROR_<.

ErrorCodeDescription
SND_ERROR_UNCOMPATIBLE_VERSION500000This error is caused if the driver uses an incompatible kernel API for this interface and hence the library doesn't know how this API can be used.