[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>xcode15
parent
1a0ab6723a
commit
b95cb59a61
|
@ -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