Skip to content

Commit

Permalink
Double the async event queue size
Browse files Browse the repository at this point in the history
To make it less prone to overflowing
  • Loading branch information
kcat committed Jun 16, 2024
1 parent 61ff213 commit 510a0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alc/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void ALCcontext::init()
mParams.mDistanceModel = mDistanceModel;


mAsyncEvents = RingBuffer::Create(511, sizeof(AsyncEvent), false);
mAsyncEvents = RingBuffer::Create(1024, sizeof(AsyncEvent), false);
StartEventThrd(this);


Expand Down

0 comments on commit 510a0c3

Please sign in to comment.