Home
last modified time | relevance | path

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

/linux-6.6.21/sound/core/seq/oss/
Dseq_oss_synth.c43 int nr_voices; member
64 .nr_voices = 16,
103 rec->nr_voices = reg->nvoices; in snd_seq_oss_synth_probe()
235 info->nr_voices = rec->nr_voices; in snd_seq_oss_synth_setup()
236 if (info->nr_voices > 0) { in snd_seq_oss_synth_setup()
237 info->ch = kcalloc(info->nr_voices, sizeof(struct seq_oss_chinfo), GFP_KERNEL); in snd_seq_oss_synth_setup()
375 if (info->ch == NULL || ! info->nr_voices) in reset_channels()
377 for (i = 0; i < info->nr_voices; i++) { in reset_channels()
620 inf->nr_voices = 16; in snd_seq_oss_synth_make_info()
629 inf->nr_voices = rec->nr_voices; in snd_seq_oss_synth_make_info()
[all …]
Dseq_oss_event.c284 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()
345 if (! info->ch || ch < 0 || ch >= info->nr_voices) { in note_off_event()
350 ch = array_index_nospec(ch, info->nr_voices); in note_off_event()
Dseq_oss_device.h59 int nr_voices; member
/linux-6.6.21/include/uapi/linux/
Dsoundcard.h498 int nr_voices; member