Lines Matching defs:matrix
41 struct pcmchan_matrix *matrix; /* matrix map */
192 cdesc->current.matrix->channels, cdesc->current.matrix->ext);
311 cdesc->target.matrix->channels, cdesc->target.matrix->ext);
321 ret = feeder_matrix_setup(f, cdesc->current.matrix,
322 cdesc->target.matrix);
332 cdesc->current.matrix = cdesc->target.matrix;
392 ret = feeder_volume_apply_matrix(f, cdesc->current.matrix);
530 #define FEEDER_BW(c, t) ((c)->t.matrix->channels * (c)->t.rate)
536 #define FEEDMATRIX_UP(c) ((c)->target.matrix->channels > \
537 (c)->current.matrix->channels)
538 #define FEEDMATRIX_DOWN(c) ((c)->target.matrix->channels < \
539 (c)->current.matrix->channels)
659 /* setup a default matrix */
667 /* Reset and rebuild default channel format/matrix map. */
669 softmatrix = &c->matrix;
674 /* setup a default matrix */
675 softmatrix = &c->matrix;
679 c->matrix = *softmatrix;
680 c->matrix.id = SND_CHN_MATRIX_PCMCHANNEL;
694 cdesc.origin.matrix = softmatrix;
697 cdesc.target.matrix = hwmatrix;
701 cdesc.origin.matrix = hwmatrix;
704 cdesc.target.matrix = softmatrix;
733 if (feeder_matrix_compare(cdesc.origin.matrix,
734 cdesc.target.matrix) != 0)
789 * 3) Avoid volume, format, matrix and rate in BITPERFECT or
803 FEEDER_BUILD(matrix);
809 FEEDER_BUILD(matrix);
831 FEEDER_BUILD(matrix);