Lines Matching defs:channels
61 snd_pcm_multi_channel_t *channels;
80 free(multi->channels);
305 err = snd_pcm_areas_silence(slave->running_areas, 0, slave->channels, slave->buffer_size, slave->format);
309 err = snd_pcm_areas_silence(slave->stopped_areas, 0, slave->channels, slave->buffer_size, slave->format);
548 snd_pcm_multi_channel_t *c = &multi->channels[channel];
715 pcm->mmap_channels = calloc(pcm->channels,
717 pcm->running_areas = calloc(pcm->channels,
725 for (c = 0; c < pcm->channels; c++) {
726 snd_pcm_multi_channel_t *chan = &multi->channels[c];
749 snd_pcm_multi_channel_t *c = &multi->channels[k];
817 * \param channels_count Count of channels
818 * \param sidxs Array with channels indexes to slaves
819 * \param schannels Array with slave channels
860 multi->channels = calloc(channels_count, sizeof(*multi->channels));
861 if (!multi->channels) {
874 snd_pcm_multi_channel_t *bind = &multi->channels[i];
890 free(multi->channels);
924 channels INT # Slave channels
944 slaves.a.channels 2
946 slaves.b.channels 2
1077 SNDERR("No channels defined");
1098 int channels;
1103 SND_PCM_HW_PARAM_CHANNELS, SCONF_MANDATORY, &channels);
1106 slaves_channels[idx] = channels;