aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2012-03-08 15:28:51 +1300
committerMatthew Gregan <[email protected]>2012-03-08 15:28:51 +1300
commite159006ccc8043326f0714757d6fda0962d8032b (patch)
treef65e7f3fdbb6e800b99acffdfe0cdc9d25d5d529 /include
parent55027da69a6be4d0ec90c8cf57e240fb389c2d43 (diff)
downloadcubeb-e159006ccc8043326f0714757d6fda0962d8032b.tar.gz
cubeb-e159006ccc8043326f0714757d6fda0962d8032b.zip
add CUBEB_STATE_ERROR to the API.
Diffstat (limited to 'include')
-rw-r--r--include/cubeb/cubeb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h
index 56730b4..fc9c102 100644
--- a/include/cubeb/cubeb.h
+++ b/include/cubeb/cubeb.h
@@ -114,7 +114,8 @@ typedef struct {
typedef enum {
CUBEB_STATE_STARTED, /**< Stream started. */
CUBEB_STATE_STOPPED, /**< Stream stopped. */
- CUBEB_STATE_DRAINED /**< Stream drained. */
+ CUBEB_STATE_DRAINED, /**< Stream drained. */
+ CUBEB_STATE_ERROR /**< Stream disabled due to error. */
} cubeb_state;
/** Result code enumeration. */