return SR_ERR_DATA;
}
-
if (fmt_code == WAVE_FORMAT_PCM) {
} else if (fmt_code == WAVE_FORMAT_IEEE_FLOAT) {
if (unitsize != 4) {
unsigned int offset, i;
offset = initial_offset;
- while(offset < MIN(MAX_DATA_CHUNK_OFFSET, buf->len)) {
+ while (offset < MIN(MAX_DATA_CHUNK_OFFSET, buf->len)) {
if (!memcmp(buf->str + offset, "data", 4))
/* Skip into the samples. */
return offset + 8;
.receive = receive,
.end = end,
};
-