summaryrefslogtreecommitdiffstats
path: root/src/soundio/sounddeviceerror.h
blob: 1157ebd5fb89d8724310d7be548ef11c11c599b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef SOUNDDEVICEERROR_H
#define SOUNDDEVICEERROR_H

// Used for returning errors from sounddevice functions.
enum SoundDeviceError {
    SOUNDDEVICE_ERROR_ERR = -1,
    SOUNDDEVICE_ERROR_OK = 0,
    SOUNDDEVICE_ERROR_DUPLICATE_OUTPUT_CHANNEL,
    SOUNDDEVICE_ERROR_EXCESSIVE_OUTPUT_CHANNEL,
    SOUNDDEVICE_ERROR_EXCESSIVE_INPUT_CHANNEL,
};

#endif /* SOUNDDEVICEERROR_H */