[Audio Processing] Increase thread stack size
Apparently, all these new changes with FreeSurround have pushed the default 512KB thread stack size to the limit. And I'm not even using stack variables, really, except for maybe the autoreleasepools. Signed-off-by: Christopher Snowhill <kode54@gmail.com>main
parent
7de0792b97
commit
10272ca7a4
|
@ -211,7 +211,9 @@
|
|||
}
|
||||
|
||||
- (void)launchThread {
|
||||
[NSThread detachNewThreadSelector:@selector(threadEntry:) toTarget:self withObject:nil];
|
||||
NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(threadEntry:) object:nil];
|
||||
[thread setStackSize:1024 * 1024]; // Dammit, this new code makes the nodes overflow the stack size, so let's double the stack
|
||||
[thread start];
|
||||
}
|
||||
|
||||
- (void)setPreviousNode:(id)p {
|
||||
|
|
Loading…
Reference in New Issue