Lines Matching defs:channels
73 size = dmix->shmptr->s.channels *
162 unsigned int chn, dchn, channels, sample_size;
165 channels = dmix->channels;
197 do_mix_areas(size * channels,
198 (unsigned char *)dst_areas[0].addr + sample_size * dst_ofs * channels,
199 (unsigned char *)src_areas[0].addr + sample_size * src_ofs * channels,
200 dmix->u.dmix.sum_buffer + dst_ofs * channels,
206 for (chn = 0; chn < channels; chn++) {
208 if (dchn >= dmix->shmptr->s.channels)
215 dmix->u.dmix.sum_buffer + channels * dst_ofs + chn,
218 channels * sizeof(signed int));
230 unsigned int chn, dchn, channels, sample_size;
233 channels = dmix->channels;
265 do_remix_areas(size * channels,
266 (unsigned char *)dst_areas[0].addr + sample_size * dst_ofs * channels,
267 (unsigned char *)src_areas[0].addr + sample_size * src_ofs * channels,
268 dmix->u.dmix.sum_buffer + dst_ofs * channels,
274 for (chn = 0; chn < channels; chn++) {
276 if (dchn >= dmix->shmptr->s.channels)
283 dmix->u.dmix.sum_buffer + channels * dst_ofs + chn,
286 channels * sizeof(signed int));
1108 if (dmix->channels == UINT_MAX)
1109 dmix->channels = dmix->shmptr->s.channels;
1163 channels INT
1189 (\c S16), channels (2), and period_time (125000).
1191 in the slave PCM definition. The rate, format and channels can be
1242 so that only the first two channels are used by dmix.
1285 params.channels = 2;
1294 SND_PCM_HW_PARAM_CHANNELS, 0, ¶ms.channels,