Home
last modified time | relevance | path

Searched refs:chset (Results 1 – 19 of 19) sorted by relevance

/linux/sound/core/seq/
H A Dseq_midi_emul.c37 struct snd_midi_channel_set *chset,
42 struct snd_midi_channel_set *chset);
45 struct snd_midi_channel_set *chset);
48 int len, struct snd_midi_channel_set *chset);
54 static void reset_all_channels(struct snd_midi_channel_set *chset);
259 struct snd_midi_channel_set *chset, in do_control() argument
315 rpn(ops, drv, chan, chset); in do_control()
317 nrpn(ops, drv, chan, chset); in do_control()
337 if (chset->midi_mode == SNDRV_MIDI_MODE_XG) { in do_control()
378 snd_midi_channel_set_clear(struct snd_midi_channel_set *chset) in snd_midi_channel_set_clear() argument
[all …]
/linux/sound/drivers/opl4/
H A Dopl4_seq.c110 snd_midi_process_event(&opl4_ops, ev, opl4->chset); in snd_opl4_seq_event_input()
118 snd_midi_channel_free_set(opl4->chset); in snd_opl4_seq_free_port()
134 opl4->chset = snd_midi_channel_alloc_set(16); in snd_opl4_seq_probe()
135 if (!opl4->chset) in snd_opl4_seq_probe()
137 opl4->chset->private_data = opl4; in snd_opl4_seq_probe()
143 snd_midi_channel_free_set(opl4->chset); in snd_opl4_seq_probe()
147 opl4->chset->client = client; in snd_opl4_seq_probe()
158 opl4->chset->port = snd_seq_event_port_attach(client, &pcallbacks, in snd_opl4_seq_probe()
167 if (opl4->chset->port < 0) { in snd_opl4_seq_probe()
168 int err = opl4->chset in snd_opl4_seq_probe()
[all...]
H A Dopl4_local.h194 struct snd_midi_channel_set *chset; member
229 …d_opl4_sysex(void *p, unsigned char *buf, int len, int parsed, struct snd_midi_channel_set *chset);
H A Dopl4_synth.c290 snd_midi_channel_set_clear(opl4->chset); in snd_opl4_synth_reset()
365 att += snd_opl4_volume_table[opl4->chset->gs_master_volume & 0x7f]; in snd_opl4_update_volume()
614 int parsed, struct snd_midi_channel_set *chset) in snd_opl4_sysex() argument
/linux/sound/synth/emux/
H A Demux_seq.c97 emu->ports[i] = p->chset.port; in snd_emux_init_seq()
139 p->chset.channels = kzalloc_objs(*p->chset.channels, max_channels); in snd_emux_create_port()
140 if (!p->chset.channels) { in snd_emux_create_port()
145 p->chset.channels[i].number = i; in snd_emux_create_port()
146 p->chset.private_data = p; in snd_emux_create_port()
147 p->chset.max_channels = max_channels; in snd_emux_create_port()
149 p->chset.client = emu->client; in snd_emux_create_port()
164 p->chset.port = snd_seq_event_port_attach(emu->client, callback, in snd_emux_create_port()
185 kfree(p->chset.channels); in free_port()
217 snd_midi_channel_set_clear(&port->chset); in snd_emux_reset_port()
[all …]
H A Demux_oss.c125 arg->addr.client = p->chset.client; in snd_emux_open_seq_oss()
126 arg->addr.port = p->chset.port; in snd_emux_open_seq_oss()
178 snd_soundfont_close_check(emu->sflist, SF_CLIENT_NO(p->chset.port)); in snd_emux_close_seq_oss()
179 snd_seq_event_port_detach(p->chset.client, p->chset.port); in snd_emux_close_seq_oss()
219 SF_CLIENT_NO(p->chset.port)); in snd_emux_load_patch_seq_oss()
332 if (voice < 0 || voice >= port->chset.max_channels) in emuspec_control()
335 chan = &port->chset.channels[voice]; in emuspec_control()
390 for (i = 0; i < port->chset.max_channels; i++) { in emuspec_control()
391 chan = &port->chset.channels[i]; in emuspec_control()
430 if (voice < 0 || voice >= port->chset.max_channels) in gusspec_control()
[all …]
H A Demux_effect.c276 p->chset.max_channels); in snd_emux_create_effect()
278 for (i = 0; i < p->chset.max_channels; i++) in snd_emux_create_effect()
279 p->chset.channels[i].private = p->effect + i; in snd_emux_create_effect()
281 for (i = 0; i < p->chset.max_channels; i++) in snd_emux_create_effect()
282 p->chset.channels[i].private = NULL; in snd_emux_create_effect()
298 p->chset.max_channels); in snd_emux_clear_effect()
H A Demux_nrpn.c274 struct snd_midi_channel_set *chset) in snd_emux_nrpn() argument
297 if (port->chset.midi_mode == SNDRV_MIDI_MODE_GS && in snd_emux_nrpn()
366 struct snd_midi_channel_set *chset) in snd_emux_sysex() argument
372 if (snd_BUG_ON(!port || !chset)) in snd_emux_sysex()
382 emu->ops.sysex(emu, buf, len, parsed, chset); in snd_emux_sysex()
H A Demux_voice.h61 int parsed, struct snd_midi_channel_set *chset);
65 struct snd_midi_channel_set *chset);
H A Demux_synth.c342 if (port->chset.midi_mode == SNDRV_MIDI_MODE_XG) { in snd_emux_control()
751 master_vol = port->chset.gs_master_volume; in calc_volume()
845 switch (port->chset.midi_mode) { in get_bank()
/linux/sound/drivers/opl3/
H A Dopl3_seq.c145 snd_midi_process_event(&opl3_ops, ev, opl3->chset); in snd_opl3_synth_event_input()
155 snd_midi_channel_free_set(opl3->chset); in snd_opl3_synth_free_port()
166 opl3->chset = snd_midi_channel_alloc_set(16); in snd_opl3_synth_create_port()
167 if (opl3->chset == NULL) in snd_opl3_synth_create_port()
169 opl3->chset->private_data = opl3; in snd_opl3_synth_create_port()
182 opl3->chset->client = opl3->seq_client; in snd_opl3_synth_create_port()
183 opl3->chset->port = snd_seq_event_port_attach(opl3->seq_client, &callbacks, in snd_opl3_synth_create_port()
193 if (opl3->chset->port < 0) { in snd_opl3_synth_create_port()
195 port = opl3->chset->port; in snd_opl3_synth_create_port()
196 snd_midi_channel_free_set(opl3->chset); in snd_opl3_synth_create_port()
[all...]
H A Dopl3_voice.h23 void snd_opl3_nrpn(void *p, struct snd_midi_channel *chan, struct snd_midi_channel_set *chset);
24 …d_opl3_sysex(void *p, unsigned char *buf, int len, int parsed, struct snd_midi_channel_set *chset);
H A Dopl3_midi.c810 struct snd_midi_channel_set *chset) in snd_opl3_nrpn() argument
820 int parsed, struct snd_midi_channel_set *chset) in snd_opl3_sysex() argument
/linux/include/sound/
H A Dseq_midi_emul.h75 struct snd_midi_channel_set *chset);
77 struct snd_midi_channel_set *chset);
180 void snd_midi_channel_set_clear(struct snd_midi_channel_set *chset);
182 void snd_midi_channel_free_set(struct snd_midi_channel_set *chset);
H A Demux_synth.h53 struct snd_midi_channel_set *chset);
128 struct snd_midi_channel_set chset; member
H A Dopl3.h313 struct snd_midi_channel_set * chset; member
H A Dgus.h207 struct snd_midi_channel_set * chset; member
/linux/sound/isa/sb/
H A Demu8000_callback.c25 struct snd_midi_channel_set *chset);
447 sysex(struct snd_emux *emu, char *buf, int len, int parsed, struct snd_midi_channel_set *chset) in sysex() argument
455 hw->chorus_mode = chset->gs_chorus_mode; in sysex()
460 hw->reverb_mode = chset->gs_reverb_mode; in sysex()
/linux/sound/pci/trident/
H A Dtrident.h239 struct snd_midi_channel_set * chset; member