1
0

patch-output_alsa_c 457 B

12345678910111213
  1. --- squeezelite-1.5.orig/output_alsa.c 2014-01-24 11:24:16.000000000 +0100
  2. +++ squeezelite-1.5/output_alsa.c 2014-02-08 13:36:12.000000000 +0100
  3. @@ -670,8 +670,10 @@ void output_init_alsa(log_level level, c
  4. LOG_INFO("memory locked");
  5. }
  6. +#if defined(__GLIBC__)
  7. mallopt(M_TRIM_THRESHOLD, -1);
  8. mallopt(M_MMAP_MAX, 0);
  9. +#endif
  10. touch_memory(silencebuf, MAX_SILENCE_FRAMES * BYTES_PER_FRAME);
  11. touch_memory(outputbuf->buf, outputbuf->size);