mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 848954 - 17 - Increase the size of the stack for the audio threads on Windows. r=kinetik
This commit is contained in:
parent
c66ac1d38b
commit
c48a9d66e7
@ -839,7 +839,7 @@ int wasapi_stream_start(cubeb_stream * stm)
|
||||
|
||||
assert(stm);
|
||||
|
||||
stm->thread = (HANDLE) _beginthreadex(NULL, 64 * 1024, wasapi_stream_render_loop, stm, STACK_SIZE_PARAM_IS_A_RESERVATION, NULL);
|
||||
stm->thread = (HANDLE) _beginthreadex(NULL, 256 * 1024, wasapi_stream_render_loop, stm, STACK_SIZE_PARAM_IS_A_RESERVATION, NULL);
|
||||
if (stm->thread == NULL) {
|
||||
LOG("could not create WASAPI render thread.");
|
||||
return CUBEB_ERROR;
|
||||
|
@ -289,7 +289,7 @@ winmm_init(cubeb ** context, char const * context_name)
|
||||
return CUBEB_ERROR;
|
||||
}
|
||||
|
||||
ctx->thread = (HANDLE) _beginthreadex(NULL, 64 * 1024, winmm_buffer_thread, ctx, STACK_SIZE_PARAM_IS_A_RESERVATION, NULL);
|
||||
ctx->thread = (HANDLE) _beginthreadex(NULL, 256 * 1024, winmm_buffer_thread, ctx, STACK_SIZE_PARAM_IS_A_RESERVATION, NULL);
|
||||
if (!ctx->thread) {
|
||||
winmm_destroy(ctx);
|
||||
return CUBEB_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user