Lines Matching refs:chn
693 unsigned int idx, chn; in snd_pcm_ladspa_allocate_memory() local
715 chn = instance->input.channels.array[idx]; in snd_pcm_ladspa_allocate_memory()
717 if (chn >= nchannels) in snd_pcm_ladspa_allocate_memory()
718 nchannels = chn + 1; in snd_pcm_ladspa_allocate_memory()
721 chn = instance->output.channels.array[idx]; in snd_pcm_ladspa_allocate_memory()
723 if (chn >= nchannels) in snd_pcm_ladspa_allocate_memory()
724 nchannels = chn + 1; in snd_pcm_ladspa_allocate_memory()
752 chn = instance->input.channels.array[idx]; in snd_pcm_ladspa_allocate_memory()
753 if (pchannels[chn] == NULL && chn < ichannels) { in snd_pcm_ladspa_allocate_memory()
757 instance->input.data[idx] = pchannels[chn]; in snd_pcm_ladspa_allocate_memory()
767 chn = instance->output.channels.array[idx]; in snd_pcm_ladspa_allocate_memory()
775 … pchannels[chn] = instance->output.m_data[idx] = instance->output.data[idx]; in snd_pcm_ladspa_allocate_memory()
788 chn = instance->output.channels.array[idx]; in snd_pcm_ladspa_allocate_memory()
789 if (instance->output.data[idx] == pchannels[chn]) { in snd_pcm_ladspa_allocate_memory()
792 if (chn < ochannels) { in snd_pcm_ladspa_allocate_memory()
863 unsigned int idx, chn, size1, size2; in snd_pcm_ladspa_write_areas() local
882 chn = instance->input.channels.array[idx]; in snd_pcm_ladspa_write_areas()
885 … data = (LADSPA_Data *)((char *)areas[chn].addr + (areas[chn].first / 8)); in snd_pcm_ladspa_write_areas()
891 chn = instance->output.channels.array[idx]; in snd_pcm_ladspa_write_areas()
894 … data = (LADSPA_Data *)((char *)slave_areas[chn].addr + (areas[chn].first / 8)); in snd_pcm_ladspa_write_areas()
924 unsigned int idx, chn, size1, size2;; in snd_pcm_ladspa_read_areas() local
943 chn = instance->input.channels.array[idx]; in snd_pcm_ladspa_read_areas()
946 … data = (LADSPA_Data *)((char *)slave_areas[chn].addr + (areas[chn].first / 8)); in snd_pcm_ladspa_read_areas()
952 chn = instance->output.channels.array[idx]; in snd_pcm_ladspa_read_areas()
955 … data = (LADSPA_Data *)((char *)areas[chn].addr + (areas[chn].first / 8)); in snd_pcm_ladspa_read_areas()