shithub: cstory

Download patch

ref: 1da98b1b24fe55f1d58c109cc1cd6018cc0eb6c8
parent: e7bc7bfa7252bc15f86397ed791485e01ddf035b
author: Jacob Moody <moody@posixcafe.org>
date: Sun Dec 17 21:26:26 EST 2023

audioproc needs a bigger stack buffer

--- a/src/Backends/Audio/SoftwareMixer/9front.cpp
+++ b/src/Backends/Audio/SoftwareMixer/9front.cpp
@@ -50,6 +50,7 @@
 {
 	int fd;
 
+	threadsetname("audioproc");
 	fd = open("/dev/audio", OWRITE);
 	if(fd < 0)
 		return;
@@ -62,7 +63,7 @@
 unsigned long SoftwareMixerBackend_Init(void (*callback)(long *stream, size_t frames_total))
 {
 	parent_callback = callback;
-	proccreate(SoftwareMixerBackend_Proc, nil, 8192);
+	proccreate(SoftwareMixerBackend_Proc, nil, 8192*1024);
 	return 44100;
 }