Lines Matching refs:bytespersec
127 int bytesread, k, bytespersec = 0 ; in wavlike_read_fmt_chunk() local
143 &(wav_fmt->min.samplerate), &(wav_fmt->min.bytespersec), in wavlike_read_fmt_chunk()
200 bytespersec = wav_fmt->min.samplerate * wav_fmt->min.blockalign ; in wavlike_read_fmt_chunk()
201 if (wav_fmt->min.bytespersec != (unsigned) bytespersec) in wavlike_read_fmt_chunk()
202 …_log_printf (psf, " Bytes/sec : %d (should be %d)\n", wav_fmt->min.bytespersec, bytespersec) ; in wavlike_read_fmt_chunk()
204 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->min.bytespersec) ; in wavlike_read_fmt_chunk()
211 if (wav_fmt->min.bytespersec != wav_fmt->min.samplerate * wav_fmt->min.blockalign) in wavlike_read_fmt_chunk()
212 …psf_log_printf (psf, " Bytes/sec : %d (should be %d)\n", wav_fmt->min.bytespersec, wav_fmt->m… in wavlike_read_fmt_chunk()
214 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->min.bytespersec) ; in wavlike_read_fmt_chunk()
238 … bytespersec = (wav_fmt->ima.samplerate * wav_fmt->ima.blockalign) / wav_fmt->ima.samplesperblock ; in wavlike_read_fmt_chunk()
239 if (wav_fmt->ima.bytespersec != (unsigned) bytespersec) in wavlike_read_fmt_chunk()
240 …_log_printf (psf, " Bytes/sec : %d (should be %d)\n", wav_fmt->ima.bytespersec, bytespersec) ; in wavlike_read_fmt_chunk()
242 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->ima.bytespersec) ; in wavlike_read_fmt_chunk()
263 …bytespersec = (wav_fmt->min.samplerate * wav_fmt->min.blockalign) / wav_fmt->msadpcm.samplesperblo… in wavlike_read_fmt_chunk()
264 if (wav_fmt->min.bytespersec == (unsigned) bytespersec) in wavlike_read_fmt_chunk()
265 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->min.bytespersec) ; in wavlike_read_fmt_chunk()
266 …else if (wav_fmt->min.bytespersec == (wav_fmt->min.samplerate / wav_fmt->msadpcm.samplesperblock) … in wavlike_read_fmt_chunk()
267 …f (psf, " Bytes/sec : %d (should be %d (MS BUG!))\n", wav_fmt->min.bytespersec, bytespersec) ; in wavlike_read_fmt_chunk()
269 …_log_printf (psf, " Bytes/sec : %d (should be %d)\n", wav_fmt->min.bytespersec, bytespersec) ; in wavlike_read_fmt_chunk()
299 …bytespersec = (wav_fmt->gsm610.samplerate * wav_fmt->gsm610.blockalign) / wav_fmt->gsm610.samplesp… in wavlike_read_fmt_chunk()
300 if (wav_fmt->gsm610.bytespersec != (unsigned) bytespersec) in wavlike_read_fmt_chunk()
301 …g_printf (psf, " Bytes/sec : %d (should be %d)\n", wav_fmt->gsm610.bytespersec, bytespersec) ; in wavlike_read_fmt_chunk()
303 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->gsm610.bytespersec) ; in wavlike_read_fmt_chunk()
310 if (wav_fmt->ext.bytespersec != wav_fmt->ext.samplerate * wav_fmt->ext.blockalign) in wavlike_read_fmt_chunk()
311 …psf_log_printf (psf, " Bytes/sec : %d (should be %d)\n", wav_fmt->ext.bytespersec, wav_fmt->e… in wavlike_read_fmt_chunk()
313 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->ext.bytespersec) ; in wavlike_read_fmt_chunk()
418 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->g72x.bytespersec) ; in wavlike_read_fmt_chunk()
439 bytespersec = (wav_fmt->min.samplerate * wav_fmt->min.blockalign) / 160 ; in wavlike_read_fmt_chunk()
440 if (wav_fmt->min.bytespersec == (unsigned) bytespersec) in wavlike_read_fmt_chunk()
441 psf_log_printf (psf, " Bytes/sec : %d\n", wav_fmt->min.bytespersec) ; in wavlike_read_fmt_chunk()
443 …_log_printf (psf, " Bytes/sec : %d (should be %d)\n", wav_fmt->min.bytespersec, bytespersec) ; in wavlike_read_fmt_chunk()