/sound/core/seq/ |
D | seq_midi_emul.c | 51 struct snd_midi_channel_set *chset, 55 struct snd_midi_channel_set *chset); 57 struct snd_midi_channel_set *chset); 59 int len, struct snd_midi_channel_set *chset); 65 static void reset_all_channels(struct snd_midi_channel_set *chset); 267 do_control(struct snd_midi_op *ops, void *drv, struct snd_midi_channel_set *chset, in do_control() argument 320 rpn(ops, drv, chan, chset); in do_control() 322 nrpn(ops, drv, chan, chset); in do_control() 342 if (chset->midi_mode == SNDRV_MIDI_MODE_XG) { in do_control() 383 snd_midi_channel_set_clear(struct snd_midi_channel_set *chset) in snd_midi_channel_set_clear() argument [all …]
|
/sound/drivers/opl4/ |
D | opl4_seq.c | 116 snd_midi_process_event(&opl4_ops, ev, opl4->chset); in snd_opl4_seq_event_input() 124 snd_midi_channel_free_set(opl4->chset); in snd_opl4_seq_free_port() 140 opl4->chset = snd_midi_channel_alloc_set(16); in snd_opl4_seq_new_device() 141 if (!opl4->chset) in snd_opl4_seq_new_device() 143 opl4->chset->private_data = opl4; in snd_opl4_seq_new_device() 149 snd_midi_channel_free_set(opl4->chset); in snd_opl4_seq_new_device() 153 opl4->chset->client = client; in snd_opl4_seq_new_device() 164 opl4->chset->port = snd_seq_event_port_attach(client, &pcallbacks, in snd_opl4_seq_new_device() 173 if (opl4->chset->port < 0) { in snd_opl4_seq_new_device() 174 int err = opl4->chset->port; in snd_opl4_seq_new_device() [all …]
|
D | opl4_local.h | 194 struct snd_midi_channel_set *chset; member 226 …d_opl4_sysex(void *p, unsigned char *buf, int len, int parsed, struct snd_midi_channel_set *chset);
|
D | opl4_synth.c | 291 snd_midi_channel_set_clear(opl4->chset); in snd_opl4_synth_reset() 374 att += snd_opl4_volume_table[opl4->chset->gs_master_volume & 0x7f]; in snd_opl4_update_volume() 625 int parsed, struct snd_midi_channel_set *chset) in snd_opl4_sysex() argument
|
/sound/synth/emux/ |
D | emux_seq.c | 109 emu->ports[i] = p->chset.port; in snd_emux_init_seq() 151 p->chset.channels = kcalloc(max_channels, sizeof(struct snd_midi_channel), GFP_KERNEL); in snd_emux_create_port() 152 if (p->chset.channels == NULL) { in snd_emux_create_port() 158 p->chset.channels[i].number = i; in snd_emux_create_port() 159 p->chset.private_data = p; in snd_emux_create_port() 160 p->chset.max_channels = max_channels; in snd_emux_create_port() 162 p->chset.client = emu->client; in snd_emux_create_port() 177 p->chset.port = snd_seq_event_port_attach(emu->client, callback, in snd_emux_create_port() 198 kfree(p->chset.channels); in free_port() 230 snd_midi_channel_set_clear(&port->chset); in snd_emux_reset_port() [all …]
|
D | emux_oss.c | 140 arg->addr.client = p->chset.client; in snd_emux_open_seq_oss() 141 arg->addr.port = p->chset.port; in snd_emux_open_seq_oss() 193 snd_soundfont_close_check(emu->sflist, SF_CLIENT_NO(p->chset.port)); in snd_emux_close_seq_oss() 194 snd_seq_event_port_detach(p->chset.client, p->chset.port); in snd_emux_close_seq_oss() 224 SF_CLIENT_NO(p->chset.port)); in snd_emux_load_patch_seq_oss() 233 rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port)); in snd_emux_load_patch_seq_oss() 345 if (voice < 0 || voice >= port->chset.max_channels) in emuspec_control() 348 chan = &port->chset.channels[voice]; in emuspec_control() 403 for (i = 0; i < port->chset.max_channels; i++) { in emuspec_control() 404 chan = &port->chset.channels[i]; in emuspec_control() [all …]
|
D | emux_effect.c | 283 p->effect = kcalloc(p->chset.max_channels, in snd_emux_create_effect() 286 for (i = 0; i < p->chset.max_channels; i++) in snd_emux_create_effect() 287 p->chset.channels[i].private = p->effect + i; in snd_emux_create_effect() 289 for (i = 0; i < p->chset.max_channels; i++) in snd_emux_create_effect() 290 p->chset.channels[i].private = NULL; in snd_emux_create_effect() 306 p->chset.max_channels); in snd_emux_clear_effect()
|
D | emux_nrpn.c | 287 struct snd_midi_channel_set *chset) in snd_emux_nrpn() argument 310 if (port->chset.midi_mode == SNDRV_MIDI_MODE_GS && in snd_emux_nrpn() 376 struct snd_midi_channel_set *chset) in snd_emux_sysex() argument 382 if (snd_BUG_ON(!port || !chset)) in snd_emux_sysex() 392 emu->ops.sysex(emu, buf, len, parsed, chset); in snd_emux_sysex()
|
D | emux_voice.h | 74 int parsed, struct snd_midi_channel_set *chset); 78 struct snd_midi_channel_set *chset);
|
D | emux_synth.c | 370 if (port->chset.midi_mode == SNDRV_MIDI_MODE_XG) { in snd_emux_control() 787 master_vol = port->chset.gs_master_volume; in calc_volume() 880 switch (port->chset.midi_mode) { in get_bank()
|
/sound/drivers/opl3/ |
D | opl3_seq.c | 160 snd_midi_process_event(&opl3_ops, ev, opl3->chset); in snd_opl3_synth_event_input() 170 snd_midi_channel_free_set(opl3->chset); in snd_opl3_synth_free_port() 181 opl3->chset = snd_midi_channel_alloc_set(16); in snd_opl3_synth_create_port() 182 if (opl3->chset == NULL) in snd_opl3_synth_create_port() 184 opl3->chset->private_data = opl3; in snd_opl3_synth_create_port() 197 opl3->chset->client = opl3->seq_client; in snd_opl3_synth_create_port() 198 opl3->chset->port = snd_seq_event_port_attach(opl3->seq_client, &callbacks, in snd_opl3_synth_create_port() 208 if (opl3->chset->port < 0) { in snd_opl3_synth_create_port() 210 port = opl3->chset->port; in snd_opl3_synth_create_port() 211 snd_midi_channel_free_set(opl3->chset); in snd_opl3_synth_create_port()
|
D | opl3_voice.h | 36 void snd_opl3_nrpn(void *p, struct snd_midi_channel *chan, struct snd_midi_channel_set *chset); 37 …d_opl3_sysex(void *p, unsigned char *buf, int len, int parsed, struct snd_midi_channel_set *chset);
|
D | opl3_midi.c | 863 struct snd_midi_channel_set *chset) in snd_opl3_nrpn() argument 878 int parsed, struct snd_midi_channel_set *chset) in snd_opl3_sysex() argument
|
/sound/isa/sb/ |
D | emu8000_callback.c | 38 struct snd_midi_channel_set *chset); 460 sysex(struct snd_emux *emu, char *buf, int len, int parsed, struct snd_midi_channel_set *chset) in sysex() argument 468 hw->chorus_mode = chset->gs_chorus_mode; in sysex() 473 hw->reverb_mode = chset->gs_reverb_mode; in sysex()
|
/sound/pci/trident/ |
D | trident.h | 254 struct snd_midi_channel_set * chset; member
|