Searched refs:bitsPerSample (Results 1 – 1 of 1) sorted by relevance
200 unsigned bitsPerSample = little2u(&fmt[14]); in sf_open_read() local201 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() local319 bitsPerSample = 16; in sf_open_write()322 bitsPerSample = 8; in sf_open_write()325 bitsPerSample = 32; in sf_open_write()[all …]