Home
last modified time | relevance | path

Searched refs:nvoices (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/sound/synth/emux/
H A Dsoundfont.c537 if (hdr.nvoices <= 0 || hdr.nvoices >= 100) { in load_info()
539 hdr.nvoices); in load_info()
543 if (count < (long)sizeof(struct soundfont_voice_info) * hdr.nvoices) { in load_info()
546 count, hdr.nvoices); in load_info()
567 for (i = 0; i < hdr.nvoices; i++) { in load_info()
1241 int nvoices; in snd_soundfont_search_zone() local
1253 nvoices = search_zones(sflist, notep, vel, preset, bank, in snd_soundfont_search_zone()
1255 if (! nvoices) { in snd_soundfont_search_zone()
1257 nvoices = search_zones(sflist, notep, vel, in snd_soundfont_search_zone()
1262 return nvoices; in snd_soundfont_search_zone()
[all …]
H A Demux_synth.c49 int i, key, nvoices; in snd_emux_note_on() local
64 nvoices = get_zone(emu, port, &note, vel, chan, table); in snd_emux_note_on()
65 if (! nvoices) in snd_emux_note_on()
69 for (i = 0; i < nvoices; i++) { in snd_emux_note_on()
81 for (i = 0; i < nvoices; i++) { in snd_emux_note_on()
H A Demux_oss.c67 arg->nvoices = emu->max_voices; in snd_emux_init_seq_oss()
/openbmc/linux/sound/ppc/
H A Dburgundy.c189 long nvoices[2]; in snd_pmac_burgundy_put_volume() local
193 snd_pmac_burgundy_read_volume(chip, addr, nvoices, shift); in snd_pmac_burgundy_put_volume()
194 return (nvoices[0] != ucontrol->value.integer.value[0] || in snd_pmac_burgundy_put_volume()
195 nvoices[1] != ucontrol->value.integer.value[1]); in snd_pmac_burgundy_put_volume()
265 long nvoices[2]; in snd_pmac_burgundy_put_volume_2b() local
269 snd_pmac_burgundy_read_volume_2b(chip, addr, nvoices, off); in snd_pmac_burgundy_put_volume_2b()
270 return (nvoices[0] != ucontrol->value.integer.value[0] || in snd_pmac_burgundy_put_volume_2b()
271 nvoices[1] != ucontrol->value.integer.value[1]); in snd_pmac_burgundy_put_volume_2b()
/openbmc/linux/sound/drivers/opl3/
H A Dopl3_oss.c105 arg->nvoices = MAX_OPL2_VOICES; in snd_opl3_init_seq_oss()
108 arg->nvoices = MAX_OPL3_VOICES; in snd_opl3_init_seq_oss()
/openbmc/linux/include/sound/
H A Dseq_oss.h75 int nvoices; member
/openbmc/linux/include/uapi/sound/
H A Dsfnt_info.h133 char nvoices; /* number of voices */ member
/openbmc/linux/Documentation/sound/designs/
H A Dseq-oss.rst184 int snd_seq_oss_synth_register(char *name, int type, int subtype, int nvoices,
187 The arguments ``name``, ``type``, ``subtype`` and ``nvoices``
/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_synth.c104 rec->nr_voices = reg->nvoices; in snd_seq_oss_synth_probe()