Lines Matching refs:channels
134 audio_rewrite_aiff_filesize(int fd, unsigned int size, unsigned int channels, in audio_rewrite_aiff_filesize() argument
156 tmp_uint = size / channels / bytes_per_sample; in audio_rewrite_aiff_filesize()
262 unsigned int channels, unsigned int bytes_per_sample) in audio_rewrite_filesize() argument
288 return (audio_rewrite_aiff_filesize(fd, size, channels, in audio_rewrite_filesize()
520 short channels; in decode_aiff() local
583 &channels); in decode_aiff()
585 hdrp->channels = channels; in decode_aiff()
661 AUDIO_AU_FILE2HOST(&fhdr.au_channels, &hdrp->channels); in decode_au()
710 AUDIO_WAV_FILE2HOST_SHORT(&fhdr.wav_fmt_channels, &hdrp->channels); in decode_wav()
930 tmp_ushort = hdrp->channels; in audio_encode_aiff()
1100 AUDIO_AU_HOST2FILE(&hdrp->channels, &fhdr.au_channels); in audio_encode_au()
1188 bytes_per_second = hdrp->sample_rate * hdrp->channels * in audio_encode_wav()
1190 bytes_per_sample = hdrp->channels * hdrp->bytes_per_unit; in audio_encode_wav()
1196 AUDIO_WAV_HOST2FILE_SHORT(&hdrp->channels, &fhdr.wav_fmt_channels); in audio_encode_wav()