Searched refs:nr_voices (Results 1 – 4 of 4) sorted by relevance
56 int nr_voices; member77 .nr_voices = 16,116 rec->nr_voices = reg->nvoices; in snd_seq_oss_synth_probe()248 info->nr_voices = rec->nr_voices; in snd_seq_oss_synth_setup()249 if (info->nr_voices > 0) { in snd_seq_oss_synth_setup()250 info->ch = kcalloc(info->nr_voices, sizeof(struct seq_oss_chinfo), GFP_KERNEL); in snd_seq_oss_synth_setup()388 if (info->ch == NULL || ! info->nr_voices) in reset_channels()390 for (i = 0; i < info->nr_voices; i++) { in reset_channels()629 inf->nr_voices = 16; in snd_seq_oss_synth_make_info()637 inf->nr_voices = rec->nr_voices; in snd_seq_oss_synth_make_info()[all …]
297 if (! info->ch || ch < 0 || ch >= info->nr_voices) { in note_on_event()302 ch = array_index_nospec(ch, info->nr_voices); in note_on_event()358 if (! info->ch || ch < 0 || ch >= info->nr_voices) { in note_off_event()363 ch = array_index_nospec(ch, info->nr_voices); in note_off_event()
71 int nr_voices; member
498 int nr_voices; member