Lines Matching defs:matrix
41 struct pcmchan_matrix *matrix; /* matrix map */
191 cdesc->current.matrix->channels, cdesc->current.matrix->ext);
310 cdesc->target.matrix->channels, cdesc->target.matrix->ext);
320 ret = feeder_matrix_setup(f, cdesc->current.matrix,
321 cdesc->target.matrix);
331 cdesc->current.matrix = cdesc->target.matrix;
391 ret = feeder_volume_apply_matrix(f, cdesc->current.matrix);
529 #define FEEDER_BW(c, t) ((c)->t.matrix->channels * (c)->t.rate)
535 #define FEEDMATRIX_UP(c) ((c)->target.matrix->channels > \
536 (c)->current.matrix->channels)
537 #define FEEDMATRIX_DOWN(c) ((c)->target.matrix->channels < \
538 (c)->current.matrix->channels)
657 /* setup a default matrix */
665 /* Reset and rebuild default channel format/matrix map. */
667 softmatrix = &c->matrix;
672 /* setup a default matrix */
673 softmatrix = &c->matrix;
677 c->matrix = *softmatrix;
678 c->matrix.id = SND_CHN_MATRIX_PCMCHANNEL;
692 cdesc.origin.matrix = softmatrix;
695 cdesc.target.matrix = hwmatrix;
699 cdesc.origin.matrix = hwmatrix;
702 cdesc.target.matrix = softmatrix;
731 if (feeder_matrix_compare(cdesc.origin.matrix,
732 cdesc.target.matrix) != 0)
787 * 3) Avoid volume, format, matrix and rate in BITPERFECT or
801 FEEDER_BUILD(matrix);
807 FEEDER_BUILD(matrix);
829 FEEDER_BUILD(matrix);