mirror of
https://github.com/openharmony/third_party_tinyalsa.git
synced 2026-07-18 21:34:26 -04:00
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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user