mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
squeezelite: Import new package
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
--- a/output_alsa.c
|
||||
+++ b/output_alsa.c
|
||||
@@ -862,8 +862,11 @@ void output_init_alsa(log_level level, c
|
||||
LOG_INFO("memory locked");
|
||||
}
|
||||
|
||||
+#ifdef M_TRIM_THRESHOLD
|
||||
+ // mallopt is not defined in musl libc
|
||||
mallopt(M_TRIM_THRESHOLD, -1);
|
||||
mallopt(M_MMAP_MAX, 0);
|
||||
+#endif
|
||||
|
||||
touch_memory(silencebuf, MAX_SILENCE_FRAMES * BYTES_PER_FRAME);
|
||||
touch_memory(outputbuf->buf, outputbuf->size);
|
||||
Reference in New Issue
Block a user