Lines Matching refs:lock
31 self->lock = g_mutex_new(); in mix_framemanager_init()
73 if (fm->lock) { in mix_framemanager_finalize()
74 g_mutex_free(fm->lock); in mix_framemanager_finalize()
75 fm->lock = NULL; in mix_framemanager_finalize()
111 if (!fm->lock) { in mix_framemanager_initialize()
112 fm->lock = g_mutex_new(); in mix_framemanager_initialize()
113 if (!fm->lock) { in mix_framemanager_initialize()
163 if (!fm->lock) { in mix_framemanager_deinitialize()
173 g_mutex_lock(fm->lock); in mix_framemanager_deinitialize()
186 g_mutex_unlock(fm->lock); in mix_framemanager_deinitialize()
198 if (!fm->lock) { in mix_framemanager_set_framerate()
206 g_mutex_lock(fm->lock); in mix_framemanager_set_framerate()
213 g_mutex_unlock(fm->lock); in mix_framemanager_set_framerate()
225 if (!fm->lock) { in mix_framemanager_get_framerate()
233 g_mutex_lock(fm->lock); in mix_framemanager_get_framerate()
238 g_mutex_unlock(fm->lock); in mix_framemanager_get_framerate()
250 if (!fm->lock) { in mix_framemanager_get_frame_order_mode()
274 g_mutex_lock(fm->lock); in mix_framemanager_flush()
314 g_mutex_unlock(fm->lock); in mix_framemanager_flush()
701 g_mutex_lock(fm->lock); in mix_framemanager_enqueue()
719 g_mutex_unlock(fm->lock); in mix_framemanager_enqueue()
740 g_mutex_lock(fm->lock); in mix_framemanager_dequeue()
750 g_mutex_unlock(fm->lock); in mix_framemanager_dequeue()
767 g_mutex_lock(fm->lock); in mix_framemanager_eos()
771 g_mutex_unlock(fm->lock); in mix_framemanager_eos()