diff options
author | Matthew Gregan <[email protected]> | 2012-01-18 14:14:40 +1300 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2012-01-18 14:14:40 +1300 |
commit | 38b7d9df494eaca03108dd56366b63836c87f67d (patch) | |
tree | e1630dee91c7be0b438ac2a18560f770346ee396 /include | |
parent | 0d0209225e334b256c72432723de811c8b9592f4 (diff) | |
download | cubeb-38b7d9df494eaca03108dd56366b63836c87f67d.tar.gz cubeb-38b7d9df494eaca03108dd56366b63836c87f67d.zip |
make CUBEB_ERROR_INVALID_FORMAT an explicit negative value.
Diffstat (limited to 'include')
-rw-r--r-- | include/cubeb/cubeb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h index 25dde0e..56730b4 100644 --- a/include/cubeb/cubeb.h +++ b/include/cubeb/cubeb.h @@ -119,9 +119,9 @@ typedef enum { /** Result code enumeration. */ enum { - CUBEB_OK = 0, /**< Success. */ - CUBEB_ERROR = -1, /**< Unclassified error. */ - CUBEB_ERROR_INVALID_FORMAT /**< Unsupported #cubeb_stream_params requested. */ + CUBEB_OK = 0, /**< Success. */ + CUBEB_ERROR = -1, /**< Unclassified error. */ + CUBEB_ERROR_INVALID_FORMAT = -2 /**< Unsupported #cubeb_stream_params requested. */ }; /** User supplied data callback. |