aboutsummaryrefslogtreecommitdiff
path: root/include/tinyalsa/pcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tinyalsa/pcm.h')
-rw-r--r--include/tinyalsa/pcm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h
index f4b7d73..1184d81 100644
--- a/include/tinyalsa/pcm.h
+++ b/include/tinyalsa/pcm.h
@@ -95,6 +95,16 @@
* */
#define PCM_NONBLOCK 0x00000010
+/** Means a PCM is opened
+ * @ingroup libtinyalsa-pcm
+ */
+#define PCM_STATE_OPEN 0x00
+
+/** Means a PCM HW_PARAMS is set
+ * @ingroup libtinyalsa-pcm
+ */
+#define PCM_STATE_SETUP 0x01
+
/** Means a PCM is prepared
* @ingroup libtinyalsa-pcm
*/