defs: remove invalid direction

Anything not in the enum is invalid
This commit is contained in:
Wim Taymans 2017-05-16 09:06:37 +02:00
parent 1079d433ef
commit b80fc0b08e
3 changed files with 4 additions and 6 deletions

View file

@ -84,9 +84,8 @@ typedef enum {
#define SPA_RESULT_RETURN_ASYNC(seq) (SPA_RESULT_ASYNC | ((seq) & SPA_ASYNC_SEQ_MASK))
typedef enum {
SPA_DIRECTION_INVALID = 0,
SPA_DIRECTION_INPUT,
SPA_DIRECTION_OUTPUT,
SPA_DIRECTION_INPUT = 0,
SPA_DIRECTION_OUTPUT = 1,
} SpaDirection;
typedef struct {