diff options
author | Matthew Gregan <[email protected]> | 2012-06-02 13:33:19 +1200 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2012-06-02 13:33:19 +1200 |
commit | 6a6ed2607e3c457768659495532c58480df1e40d (patch) | |
tree | 90a7832d56d02250aaa8875fd726c6f7e653a164 | |
parent | 3aad0a0a7bdb8db2c8cb6d4abede853507206e12 (diff) | |
download | cubeb-6a6ed2607e3c457768659495532c58480df1e40d.tar.gz cubeb-6a6ed2607e3c457768659495532c58480df1e40d.zip |
alsa: increase cubeb_run_thread stack size to avoid blowing the stack with some alsa configurations.
-rw-r--r-- | src/cubeb_alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb_alsa.c b/src/cubeb_alsa.c index 25f23dc..84475c4 100644 --- a/src/cubeb_alsa.c +++ b/src/cubeb_alsa.c @@ -517,7 +517,7 @@ cubeb_init(cubeb ** context, char const * context_name UNUSED) r = pthread_attr_init(&attr); assert(r == 0); - r = pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN); + r = pthread_attr_setstacksize(&attr, 256 * 1024); assert(r == 0); r = pthread_create(&ctx->thread, &attr, cubeb_run_thread, ctx); |