aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2012-01-18 14:14:40 +1300
committerMatthew Gregan <[email protected]>2012-01-18 14:14:40 +1300
commit38b7d9df494eaca03108dd56366b63836c87f67d (patch)
treee1630dee91c7be0b438ac2a18560f770346ee396 /include
parent0d0209225e334b256c72432723de811c8b9592f4 (diff)
downloadcubeb-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.h6
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.