Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_synth.c43 int nr_voices; member
64 .nr_voices = 16,
104 rec->nr_voices = reg->nvoices; in snd_seq_oss_synth_probe()
236 info->nr_voices = rec->nr_voices; in snd_seq_oss_synth_setup()
237 if (info->nr_voices > 0) { in snd_seq_oss_synth_setup()
238 info->ch = kcalloc(info->nr_voices, sizeof(struct seq_oss_chinfo), GFP_KERNEL); in snd_seq_oss_synth_setup()
376 if (info->ch == NULL || ! info->nr_voices) in reset_channels()
378 for (i = 0; i < info->nr_voices; i++) { in reset_channels()
622 inf->nr_voices = 16; in snd_seq_oss_synth_make_info()
631 inf->nr_voices = rec->nr_voices; in snd_seq_oss_synth_make_info()
[all …]
H A 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()
H A Dseq_oss_device.h59 int nr_voices; member
/openbmc/linux/include/uapi/linux/
H A Dsoundcard.h498 int nr_voices; member