mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 20:47:08 +03:00
add comments & and a TODO
This commit is contained in:
4
TODO
Normal file
4
TODO
Normal 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
|
||||||
@@ -213,6 +213,7 @@ void raop_sink_cmd_handler(raop_event_t event, void *param)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case RAOP_SETUP:
|
case RAOP_SETUP:
|
||||||
|
// we need a fair bit of space for RTP process
|
||||||
_buf_resize(outputbuf, RAOP_OUTPUT_SIZE);
|
_buf_resize(outputbuf, RAOP_OUTPUT_SIZE);
|
||||||
LOG_INFO("resizing buffer %u", outputbuf->size);
|
LOG_INFO("resizing buffer %u", outputbuf->size);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user