add comments & and a TODO

This commit is contained in:
philippe44
2019-11-04 22:27:30 -08:00
parent 5c60e505ac
commit 3304571312
2 changed files with 5 additions and 0 deletions

4
TODO Normal file
View File

@@ -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

View File

@@ -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;