mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-18 03:55:19 -04:00
waiting
This commit is contained in:
parent
5f9f8d15bc
commit
e0487ef70d
@ -1047,7 +1047,7 @@ cc_result Audio_QueueChunk(struct AudioContext* ctx, void* chunk, cc_uint32 data
|
|||||||
{
|
{
|
||||||
buf = &ctx->bufs[i];
|
buf = &ctx->bufs[i];
|
||||||
//Platform_Log2("QUEUE_CHUNK: %i = %i", &ctx->chanID, &buf->status);
|
//Platform_Log2("QUEUE_CHUNK: %i = %i", &ctx->chanID, &buf->status);
|
||||||
if (buf->state == AudioDriverWaveBufState_Queued || buf->state == AudioDriverWaveBufState_Playing)
|
if (buf->state == AudioDriverWaveBufState_Queued || buf->state == AudioDriverWaveBufState_Playing || buf->state == AudioDriverWaveBufState_Waiting)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
buf->data_pcm16 = chunk;
|
buf->data_pcm16 = chunk;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user