Lines Matching defs:m_in
292 feed_matrix_setup(struct feed_matrix_info *info, struct pcmchan_matrix *m_in,
299 if (info == NULL || m_in == NULL || m_out == NULL ||
300 AFMT_CHANNEL(info->in) != m_in->channels ||
302 m_in->channels < SND_CHN_MIN || m_in->channels > SND_CHN_MAX ||
312 if (m_in->id == m_out->id && !(m_in->id < SND_CHN_MATRIX_BEGIN ||
313 m_in->id > SND_CHN_MATRIX_END))
321 if (m_in->id == SND_CHN_MATRIX_1_0) {
329 in_mask = m_in->mask;
344 if (m_in->offset[i] >= 0 &&
345 m_in->offset[i] < (int)m_in->channels)
347 m_in->offset[i] * info->bps;
399 struct pcmchan_matrix *m_in, *m_out;
438 m_in = feeder_matrix_format_map(info->in);
441 ret = feed_matrix_setup(info, m_in, m_out);
541 feeder_matrix_setup(struct pcm_feeder *f, struct pcmchan_matrix *m_in,
549 return (feed_matrix_setup(f->data, m_in, m_out));
672 feeder_matrix_compare(struct pcmchan_matrix *m_in, struct pcmchan_matrix *m_out)
676 if (m_in == m_out)
679 if (m_in->channels != m_out->channels || m_in->ext != m_out->ext ||
680 m_in->mask != m_out->mask)
683 for (i = 0; i < (sizeof(m_in->map) / sizeof(m_in->map[0])); i++) {
684 if (m_in->map[i].type != m_out->map[i].type)
686 if (m_in->map[i].type == SND_CHN_T_MAX)
688 if (m_in->map[i].members != m_out->map[i].members)
691 if (m_in->offset[m_in->map[i].type] !=