Lines Matching defs:channels
51 * audio frame #0: 787 * (bytes/sample) * (# channels) bytes in frame
52 * audio frame #1: 788 * (bytes/sample) * (# channels) bytes in frame
53 * audio frame #2: 787 * (bytes/sample) * (# channels) bytes in frame
54 * audio frame #3: 788 * (bytes/sample) * (# channels) bytes in frame
108 * audio channels: 0 for no audio, or 1 or 2
136 /* check the audio channels */
158 unsigned int sample_rate, bytes_per_sample, channels;
166 channels = avio_rl32(pb);
185 if (channels < 1 || channels > 2) {
186 av_log(s, AV_LOG_ERROR, "invalid channels: %u\n", channels);
221 st->codec->channels = channels;
222 st->codec->channel_layout = channels > 1 ? AV_CH_LAYOUT_STEREO :
226 st->codec->bit_rate = sample_rate * bytes_per_sample * 8 * channels;
227 st->codec->block_align = idcin->block_align = bytes_per_sample * channels;
235 bytes_per_sample * channels;
237 bytes_per_sample * channels;
240 (sample_rate / 14) * bytes_per_sample * channels;