Lines Matching refs:bitwidth
144 &(wav_fmt->min.blockalign), &(wav_fmt->min.bitwidth)) ; in wavlike_read_fmt_chunk()
151 && wav_fmt->min.bitwidth > 0 && wav_fmt->min.channels > 0) in wavlike_read_fmt_chunk()
152 { wav_fmt->min.blockalign = wav_fmt->min.bitwidth / 8 + (wav_fmt->min.bitwidth % 8 > 0 ? 1 : 0) ; in wavlike_read_fmt_chunk()
159 if (wav_fmt->format == WAVE_FORMAT_PCM && wav_fmt->min.bitwidth == 24 && in wavlike_read_fmt_chunk()
172 else if (wav_fmt->min.bitwidth == 0) in wavlike_read_fmt_chunk()
176 psf_log_printf (psf, " Bit Width : %d\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
179 psf_log_printf (psf, " Bit Width : %d (should not be 0)\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
186 psf_log_printf (psf, " Bit Width : %d (should be 0)\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
189 psf_log_printf (psf, " Bit Width : %d\n", wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
206 psf->bytewidth = BITWIDTH2BYTES (wav_fmt->min.bitwidth) ; in wavlike_read_fmt_chunk()
224 if (wav_fmt->min.bitwidth != 4) in wavlike_read_fmt_chunk()
247 if (wav_fmt->msadpcm.bitwidth != 4) in wavlike_read_fmt_chunk()
379 psf->bytewidth = BITWIDTH2BYTES (wav_fmt->ext.bitwidth) ; in wavlike_read_fmt_chunk()
436 …if (wav_fmt->min.channels != 1 || wav_fmt->min.bitwidth < 2 || wav_fmt->min.bitwidth * 20 + 2 != w… in wavlike_read_fmt_chunk()