diff --git a/TODO b/TODO new file mode 100644 index 00000000..42303bfd --- /dev/null +++ b/TODO @@ -0,0 +1,4 @@ +- in squeezelite some buffers (stream, output, header, recv) are allocated +although they are almost static (expect output). This creates a risk of +memory fragmentation, especially because the large output is re-allocated for +AirPlay \ No newline at end of file diff --git a/components/squeezelite/decode_external.c b/components/squeezelite/decode_external.c index 2728610d..9eac63b4 100644 --- a/components/squeezelite/decode_external.c +++ b/components/squeezelite/decode_external.c @@ -213,6 +213,7 @@ void raop_sink_cmd_handler(raop_event_t event, void *param) break; } case RAOP_SETUP: + // we need a fair bit of space for RTP process _buf_resize(outputbuf, RAOP_OUTPUT_SIZE); LOG_INFO("resizing buffer %u", outputbuf->size); break;