Searched refs:nr_voices (Results 1 – 4 of 4) sorted by relevance
36 int nr_voices; member57 .nr_voices = 16,96 rec->nr_voices = reg->nvoices; in snd_seq_oss_synth_probe()228 info->nr_voices = rec->nr_voices; in snd_seq_oss_synth_setup()229 if (info->nr_voices > 0) { in snd_seq_oss_synth_setup()230 info->ch = kcalloc(info->nr_voices, sizeof(struct seq_oss_chinfo), GFP_KERNEL); in snd_seq_oss_synth_setup()366 if (info->ch == NULL || ! info->nr_voices) in reset_channels()368 for (i = 0; i < info->nr_voices; i++) { in reset_channels()570 inf->nr_voices = 16; in snd_seq_oss_synth_make_info()579 inf->nr_voices = rec->nr_voices; in snd_seq_oss_synth_make_info()[all …]
284 if (! info->ch || ch < 0 || ch >= info->nr_voices) { in note_on_event()289 ch = array_index_nospec(ch, info->nr_voices); in note_on_event()343 if (! info->ch || ch < 0 || ch >= info->nr_voices) { in note_off_event()348 ch = array_index_nospec(ch, info->nr_voices); in note_off_event()
58 int nr_voices; member
498 int nr_voices; member