diff --git a/components/raop/dmap_parser.c b/components/raop/dmap_parser.c index d3d3b85d..67e43e8b 100644 --- a/components/raop/dmap_parser.c +++ b/components/raop/dmap_parser.c @@ -424,7 +424,7 @@ static int dmap_parse_internal(const dmap_settings *settings, const char *buf, s /* Make a best guess of the type */ field_type = DMAP_UNKNOWN; field_name = code; - +#ifdef DMAP_FULL if (field_len >= 8) { /* Look for a four char code followed by a length within the current field */ if (isalpha(p[0] & 0xff) && @@ -448,6 +448,7 @@ static int dmap_parse_internal(const dmap_settings *settings, const char *buf, s field_type = is_string ? DMAP_STR : DMAP_UINT; } +#endif } switch (field_type) { diff --git a/components/squeezelite/output_i2s.c b/components/squeezelite/output_i2s.c index 4fa9df7f..6c1dd6c8 100644 --- a/components/squeezelite/output_i2s.c +++ b/components/squeezelite/output_i2s.c @@ -283,8 +283,8 @@ void output_init_i2s(log_level level, char *device, unsigned output_buf_size, ch i2s_config.dma_buf_count = DMA_BUF_COUNT * 2; /* In DMA, we have room for (LEN * COUNT) frames of 32 bits samples that - we push at sample_rate * 2. Each of these peuso-frames is a single true - audio frame. So the real depth is true frames is (LEN * COUNT / 2) + we push at sample_rate * 2. Each of these pseudo-frames is a single true + audio frame. So the real depth in true frames is (LEN * COUNT / 2) */ dma_buf_frames = DMA_BUF_COUNT * DMA_BUF_LEN / 2;