diff --git a/libsndio/siomix_open.3 b/libsndio/siomix_open.3 index 031fbf8..b946d2c 100644 --- a/libsndio/siomix_open.3 +++ b/libsndio/siomix_open.3 @@ -123,6 +123,7 @@ struct siomix_chan { struct siomix_desc { unsigned int addr; /* control address */ +#define SIOMIX_NONE 0 /* control deleted */ #define SIOMIX_NUM 2 /* integer in the 0..127 range */ #define SIOMIX_SW 3 /* on/off switch (0 or 1) */ #define SIOMIX_VEC 4 /* number, element of vector */ @@ -146,6 +147,8 @@ The attribute indicates what the structure describes. Possible types are: .Bl -tag -width "SIOMIX_LIST" +.It SIOMIX_NONE +A previously valid control was deleted. .It SIOMIX_NUM A continuous control in the 0..SIOMIX_INTMAX range. For instance the volume of the speaker. diff --git a/libsndio/sndio.h b/libsndio/sndio.h index 0c0d89b..e7beb4a 100644 --- a/libsndio/sndio.h +++ b/libsndio/sndio.h @@ -106,6 +106,7 @@ struct siomix_chan { */ struct siomix_desc { unsigned int addr; /* control address */ +#define SIOMIX_NONE 0 /* deleted */ #define SIOMIX_NUM 2 /* integer in the 0..127 range */ #define SIOMIX_SW 3 /* on/off switch (0 or 1) */ #define SIOMIX_VEC 4 /* number, element of vector */