output/osx: signal the GCond while mutex is locked

This commit is contained in:
Max Kellermann 2011-09-01 18:21:40 +02:00
parent 13cdc9a9f8
commit e7abdab58d

View File

@ -143,8 +143,8 @@ osx_render(void *vdata,
if (od->pos >= od->buffer_size)
od->pos = 0;
g_mutex_unlock(od->mutex);
g_cond_signal(od->condition);
g_mutex_unlock(od->mutex);
buffer->mDataByteSize = buffer_size;