Kaynağa Gözat

add comments & and a TODO

philippe44 5 yıl önce
ebeveyn
işleme
3304571312
2 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 4 0
      TODO
  2. 1 0
      components/squeezelite/decode_external.c

+ 4 - 0
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

+ 1 - 0
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;