diff options
author | Ricardo Biehl Pasquali <pasqualirb@gmail.com> | 2018-12-19 23:19:57 -0200 |
---|---|---|
committer | Ricardo Biehl Pasquali <pasqualirb@gmail.com> | 2019-01-08 16:48:19 -0200 |
commit | e45431eab4840a48ca62c3e5ef49fe46dac75a48 (patch) | |
tree | e566409a73f3a8dfee5cc3b93f234f6e4dc3a5af /include | |
parent | 7bdb05d882370333cf1e2440cd6082d1a3be6750 (diff) |
pcm: Add macro for PREPARED state
Signed-off-by: Ricardo Biehl Pasquali <pasqualirb@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/pcm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h index 9b22c55..46c9b94 100644 --- a/include/tinyalsa/pcm.h +++ b/include/tinyalsa/pcm.h @@ -97,6 +97,11 @@ extern "C" { * */ #define PCM_NONBLOCK 0x00000010 +/** Means a PCM is prepared + * @ingroup libtinyalsa-pcm + */ +#define PCM_STATE_PREPARED 0x02 + /** For inputs, this means the PCM is recording audio samples. * For outputs, this means the PCM is playing audio samples. * @ingroup libtinyalsa-pcm |