Home
last modified time | relevance | path

Searched refs:nr_voices (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_synth.c56 int nr_voices; member
77 .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 …]
Dseq_oss_event.c297 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()
Dseq_oss_device.h71 int nr_voices; member
/Linux-v4.19/include/uapi/linux/
Dsoundcard.h498 int nr_voices; member