include: tinyalsa: Add PCM state macros

Add PCM_STATE_OPEN and PCM_STATE_SETUP macros so that
it can be utilized by plugin to update sync_ptr state.
This commit is contained in:
Rohit kumar
2020-08-19 14:59:38 +05:30
parent 22ae95eedd
commit eea9f9676e
+10
View File
@@ -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
*/