Home
last modified time | relevance | path

Searched refs:streamlock (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/common/libmix/mix_audio/src/
Dmixaudio.c169 g_static_rec_mutex_init (&self->streamlock); in mix_audio_init()
307 g_static_rec_mutex_free (&mix->streamlock); in mix_audio_finalize()
335 if (!g_static_rec_mutex_trylock(&mix->streamlock)) return MIX_RESULT_WRONG_STATE; in mix_audio_initialize_default()
405 _UNLOCK(&mix->streamlock); in mix_audio_initialize_default()
558 if (!g_static_rec_mutex_trylock(&mix->streamlock)) return MIX_RESULT_WRONG_STATE; in mix_audio_decode_default()
560 if (mix->state != MIX_STATE_CONFIGURED) _UNLOCK_RETURN(&mix->streamlock, MIX_RESULT_WRONG_STATE); in mix_audio_decode_default()
567 _UNLOCK(&mix->streamlock); in mix_audio_decode_default()
577 if (!g_static_rec_mutex_trylock(&mix->streamlock)) return MIX_RESULT_WRONG_STATE; in mix_audio_deinitialize_default()
607 _UNLOCK(&mix->streamlock); in mix_audio_deinitialize_default()
664 if (g_static_rec_mutex_trylock(&mix->streamlock)) in mix_audio_stop_drain_default()
[all …]
Dmixaudio.h204 GStaticRecMutex streamlock; // lock that must be acquired to invoke stream method. member