Lines Matching refs:streamlock
169 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()
669 _UNLOCK_RETURN(&mix->streamlock, MIX_RESULT_NOT_CONFIGURED); in mix_audio_stop_drain_default()
733 _UNLOCK(&mix->streamlock); in mix_audio_stop_drain_default()
836 if (!g_static_rec_mutex_trylock(&mix->streamlock)) return MIX_RESULT_WRONG_STATE; in mix_audio_configure_default()
852 _UNLOCK(&mix->streamlock); in mix_audio_configure_default()
883 _UNLOCK(&mix->streamlock); in mix_audio_configure_default()