Home
last modified time | relevance | path

Searched refs:bitsPerSample (Results 1 – 1 of 1) sorted by relevance

/system/media/audio_utils/
Dtinysndfile.c200 unsigned bitsPerSample = little2u(&fmt[14]); in sf_open_read() local
201 if (bitsPerSample != 8 && bitsPerSample != 16 && bitsPerSample != 24 && in sf_open_read()
202 bitsPerSample != 32) { in sf_open_read()
204 fprintf(stderr, "bitsPerSample %u != 8 or 16 or 24 or 32\n", bitsPerSample); in sf_open_read()
208 unsigned bytesPerFrame = (bitsPerSample >> 3) * channels; in sf_open_read()
212 switch (bitsPerSample) { in sf_open_read()
316 unsigned bitsPerSample; in sf_open_write() local
319 bitsPerSample = 16; in sf_open_write()
322 bitsPerSample = 8; in sf_open_write()
325 bitsPerSample = 32; in sf_open_write()
[all …]