Lines Matching refs:channels
31 * Speex only supports mono or stereo, so avctx->channels must be set to
95 av_log(avctx, AV_LOG_DEBUG, "channels: %d\n", avctx->channels);
130 /* channels */
131 if (avctx->channels < 1 || avctx->channels > 2) {
132 av_log(avctx, AV_LOG_ERROR, "Invalid channels (%d). Only stereo and "
133 "mono are supported\n", avctx->channels);
154 speex_init_header(&s->header, avctx->sample_rate, avctx->channels, mode);
188 avctx->bit_rate = s->header.bitrate + (avctx->channels == 2 ? 800 : 0);
242 if (avctx->channels == 2)