Merge pull request #239 from adriadam10/fix/error-codes
fix(libs): correct VideoOut and Pad error codes
This commit is contained in:
commit
643c8cfc99
|
|
@ -4,8 +4,8 @@
|
|||
#include <cstdint>
|
||||
|
||||
constexpr int PAD_OK = 0;
|
||||
constexpr int PAD_ERROR_INVALID_ARG = -2137915390;
|
||||
constexpr int PAD_ERROR_INVALID_HANDLE = -2137915384;
|
||||
constexpr int PAD_ERROR_INVALID_ARG = -2137915391;
|
||||
constexpr int PAD_ERROR_INVALID_HANDLE = -2137915389;
|
||||
|
||||
constexpr int PAD_PORT_TYPE_STANDARD = 0;
|
||||
constexpr int PAD_PORT_TYPE_SPECIAL = 2;
|
||||
|
|
|
|||
|
|
@ -24,17 +24,17 @@
|
|||
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_VALUE = -2144796671;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_ADDRESS = -2144796670;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_HANDLE = -2144796669;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_EVENT_QUEUE = -2144796668;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_INDEX = -2144796667;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_OPTION = -2144796666;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_CATEGORY = -2144796664;
|
||||
static constexpr int VIDEO_OUT_ERROR_SLOT_OCCUPIED = -2144796663;
|
||||
static constexpr int VIDEO_OUT_ERROR_RESOURCE_BUSY = -2144796656;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_HANDLE = -2144796661;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_EVENT_QUEUE = -2144796660;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_INDEX = -2144796662;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_OPTION = -2144796646;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_CATEGORY = -2144796643;
|
||||
static constexpr int VIDEO_OUT_ERROR_SLOT_OCCUPIED = -2144796656;
|
||||
static constexpr int VIDEO_OUT_ERROR_RESOURCE_BUSY = -2144796663;
|
||||
static constexpr int VIDEO_OUT_ERROR_FLIP_QUEUE_FULL = -2144796654;
|
||||
static constexpr int VIDEO_OUT_ERROR_UNSUPPORTED_OUTPUT_MODE = -2144796634;
|
||||
static constexpr int VIDEO_OUT_ERROR_UNAVAILABLE_OUTPUT_MODE = -2144796633;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_EVENT = -2144796624;
|
||||
static constexpr int VIDEO_OUT_ERROR_UNSUPPORTED_OUTPUT_MODE = -2144796650;
|
||||
static constexpr int VIDEO_OUT_ERROR_UNAVAILABLE_OUTPUT_MODE = -2144796647;
|
||||
static constexpr int VIDEO_OUT_ERROR_INVALID_EVENT = -2144796659;
|
||||
|
||||
static constexpr int VIDEO_OUT_BUS_TYPE_MAIN = 0;
|
||||
static constexpr std::uint32_t VIDEO_OUT_OPEN_PARAM_SIZE = 16;
|
||||
|
|
|
|||
Loading…
Reference in New Issue