Searched refs:samples_per_unit (Results 1 – 16 of 16) sorted by relevance
58 samples_per_unit = 0; in Clear()70 if ((bytes_per_unit < 1) || (samples_per_unit < 1) || in Validate()81 if (samples_per_unit != 1) in Validate()88 if (samples_per_unit != 1) in Validate()97 if (samples_per_unit != 1) in Validate()104 if ((bytes_per_unit != 1) || (samples_per_unit != 2)) in Validate()111 if ((bytes_per_unit != 3) || (samples_per_unit != 8)) in Validate()133 (double)samples_per_unit)); in Bytes_to_Time()150 (double)samples_per_unit))); in Time_to_Bytes()192 return ((Double)(((double)cnt * (double)samples_per_unit) / in Samples_to_Time()[all …]
128 if ((samples_per_unit == 0) || (bytes_per_unit == 0) || in EncodingString()133 iprec = (bytes_per_unit * 8) / samples_per_unit; in EncodingString()134 prec = ((Double)bytes_per_unit * 8.) / (Double)samples_per_unit; in EncodingString()417 samples_per_unit = 1; in EncodingParse()425 samples_per_unit = 1; in EncodingParse()438 samples_per_unit = 1; in EncodingParse()448 samples_per_unit = 1; in EncodingParse()458 samples_per_unit = 1; in EncodingParse()468 samples_per_unit = 1; in EncodingParse()478 samples_per_unit = 1; in EncodingParse()[all …]
52 (double)hp->samples_per_unit)); in audio_bytes_to_secs()68 (double)hp->samples_per_unit))); in audio_secs_to_bytes()194 (h1->samples_per_unit != h2->samples_per_unit)) in audio_cmp_hdr()254 if (hdrp->samples_per_unit != 1) in audio_enc_to_str()264 if (hdrp->samples_per_unit != 0) { in audio_enc_to_str()268 (double)hdrp->samples_per_unit); in audio_enc_to_str()
823 hdrp->samples_per_unit = 1; in audio_decode_filehdr()828 hdrp->samples_per_unit = 1; in audio_decode_filehdr()837 hdrp->samples_per_unit = 1; in audio_decode_filehdr()842 hdrp->samples_per_unit = 1; in audio_decode_filehdr()847 hdrp->samples_per_unit = 1; in audio_decode_filehdr()852 hdrp->samples_per_unit = 1; in audio_decode_filehdr()857 hdrp->samples_per_unit = 1; in audio_decode_filehdr()862 hdrp->samples_per_unit = 1; in audio_decode_filehdr()867 hdrp->samples_per_unit = 2; in audio_decode_filehdr()872 hdrp->samples_per_unit = 8; in audio_decode_filehdr()[all …]
63 if ((h.samples_per_unit != 1) || in CanConvert()69 if ((h.samples_per_unit != 1) || in CanConvert()74 if ((h.samples_per_unit != 2) || in CanConvert()79 if (h.samples_per_unit != 8) in CanConvert()
46 hdr.samples_per_unit = 1; in AudioTypePcm()56 if (h.samples_per_unit != 1) in CanConvert()234 (inhdr.samples_per_unit != outhdr.samples_per_unit) || in Convert()235 (inhdr.samples_per_unit != 1) || in Convert()
96 (inhdr.samples_per_unit != outhdr.samples_per_unit) || in Convert()
141 hdr_local.samples_per_unit = ohdr.samples_per_unit; in decode_filehdr()209 ohdr.samples_per_unit = hdr_local.samples_per_unit; in encode_filehdr()
101 (inhdr.samples_per_unit != outhdr.samples_per_unit) || in Convert()
120 hdrp->samples_per_unit = 1; in audio__setplayhdr()
124 unsigned int samples_per_unit; // samples per unit variable131 sample_rate(0), samples_per_unit(0), bytes_per_unit(0), in AudioHdr()141 samples_per_unit(hdr.samples_per_unit), in AudioHdr()191 hdr.samples_per_unit = samples_per_unit; in Audio_hdr()203 (samples_per_unit == tst.samples_per_unit) &&
92 unsigned samples_per_unit; /* samples per unit */ member
116 hdr.samples_per_unit = 1; in audioformat_parse()122 hdr.samples_per_unit = 1; in audioformat_parse()128 hdr.samples_per_unit = 1; in audioformat_parse()
277 ihdr.samples_per_unit = 1; in add_pcm_convert()378 ihdr.samples_per_unit = 2; in add_compress()382 ihdr.samples_per_unit = 8; in add_compress()439 ihdr.samples_per_unit = 1; in add_decompress()527 if (hdr.samples_per_unit != 1) in pcmtype()543 (ihp.samples_per_unit != \544 ohp.samples_per_unit) || \
396 hdr.samples_per_unit = 0; in init_header()
430 (File_hdr.samples_per_unit == 2) && in main()434 File_hdr.samples_per_unit = 1; in main()442 (File_hdr.samples_per_unit == 8) && in main()446 File_hdr.samples_per_unit = 1; in main()