• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/flac-1.2.1/src/test_streams/

Lines Matching defs:bps

202 /* a mono one-sample 16bps stream */
221 /* a stereo one-sample 16bps stream */
242 /* a mono five-sample 16bps stream */
263 /* a stereo five-sample 16bps stream */
284 /* a mono full-scale deflection 8bps stream */
310 /* a mono full-scale deflection 16bps stream */
336 /* a stereo wasted-bits-per-sample 16bps stream */
361 /* a mono full-scale deflection 24bps stream */
387 /* a mono sine-wave 8bps stream */
414 /* a stereo sine-wave 8bps stream */
445 /* a mono sine-wave 16bps stream */
472 /* a stereo sine-wave 16bps stream */
503 /* a mono sine-wave 24bps stream */
530 /* a stereo sine-wave 24bps stream */
615 static FLAC__bool generate_aiff(const char *filename, unsigned sample_rate, unsigned channels, unsigned bps, unsigned samples)
617 const unsigned bytes_per_sample = (bps+7)/8;
620 const unsigned shift = (bps%8)? 8 - (bps%8) : 0;
621 const FLAC__int32 full_scale = (1 << (bps-1)) - 1;
641 if(!write_big_endian_uint16(f, (FLAC__uint16)bps))
671 static FLAC__bool generate_wav(const char *filename, unsigned sample_rate, unsigned channels, unsigned bps, unsigned samples, FLAC__bool strict)
673 const FLAC__bool waveformatextensible = strict && (channels > 2 || (bps%8));
675 * (bps%8) allows 24 bps which is technically supposed to be WAVEFORMATEXTENSIBLE but we
676 * write 24bps as WAVEFORMATEX since it's unambiguous and matches how flac writes it
678 const unsigned bytes_per_sample = (bps+7)/8;
681 const unsigned shift = (bps%8)? 8 - (bps%8) : 0;
682 const FLAC__int32 full_scale = (1 << (bps-1)) - 1;
710 if(!write_little_endian_uint16(f, (FLAC__uint16)(bps+shift)))
715 if(!write_little_endian_uint16(f, (FLAC__uint16)bps)) /* validBitsPerSample */