diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 14:24:47 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 12:18:14 +0100 |
commit | 03da312ac080b4f5c9359c233b8812cc93a035fe (patch) | |
tree | 1a6767ca18964b53442ecfd538141b12e81b23be /sound/synth/emux/emux_voice.h | |
parent | ee42381e71c56328db9e9d64d19a4de7a2f09a93 (diff) |
[ALSA] Remove xxx_t typedefs: Emu-X synth
Modules: Common EMU synth,SoundFont,Synth
Remove xxx_t typedefs from the Emu-X synth support.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth/emux/emux_voice.h')
-rw-r--r-- | sound/synth/emux/emux_voice.h | 67 |
1 files changed, 38 insertions, 29 deletions
diff --git a/sound/synth/emux/emux_voice.h b/sound/synth/emux/emux_voice.h index 67eb55348cdf..0a56ca18b165 100644 --- a/sound/synth/emux/emux_voice.h +++ b/sound/synth/emux/emux_voice.h @@ -29,60 +29,69 @@ #include <sound/emux_synth.h> /* Prototypes for emux_seq.c */ -int snd_emux_init_seq(snd_emux_t *emu, snd_card_t *card, int index); -void snd_emux_detach_seq(snd_emux_t *emu); -snd_emux_port_t *snd_emux_create_port(snd_emux_t *emu, char *name, int max_channels, int type, snd_seq_port_callback_t *callback); -void snd_emux_reset_port(snd_emux_port_t *port); -int snd_emux_event_input(snd_seq_event_t *ev, int direct, void *private, int atomic, int hop); -int snd_emux_inc_count(snd_emux_t *emu); -void snd_emux_dec_count(snd_emux_t *emu); -int snd_emux_init_virmidi(snd_emux_t *emu, snd_card_t *card); -int snd_emux_delete_virmidi(snd_emux_t *emu); +int snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index); +void snd_emux_detach_seq(struct snd_emux *emu); +struct snd_emux_port *snd_emux_create_port(struct snd_emux *emu, char *name, + int max_channels, int type, + struct snd_seq_port_callback *callback); +void snd_emux_reset_port(struct snd_emux_port *port); +int snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private, + int atomic, int hop); +int snd_emux_inc_count(struct snd_emux *emu); +void snd_emux_dec_count(struct snd_emux *emu); +int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card); +int snd_emux_delete_virmidi(struct snd_emux *emu); /* Prototypes for emux_synth.c */ -void snd_emux_init_voices(snd_emux_t *emu); +void snd_emux_init_voices(struct snd_emux *emu); void snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan); void snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan); void snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan); -void snd_emux_terminate_note(void *p, int note, snd_midi_channel_t *chan); +void snd_emux_terminate_note(void *p, int note, struct snd_midi_channel *chan); void snd_emux_control(void *p, int type, struct snd_midi_channel *chan); -void snd_emux_sounds_off_all(snd_emux_port_t *port); -void snd_emux_update_channel(snd_emux_port_t *port, snd_midi_channel_t *chan, int update); -void snd_emux_update_port(snd_emux_port_t *port, int update); +void snd_emux_sounds_off_all(struct snd_emux_port *port); +void snd_emux_update_channel(struct snd_emux_port *port, + struct snd_midi_channel *chan, int update); +void snd_emux_update_port(struct snd_emux_port *port, int update); void snd_emux_timer_callback(unsigned long data); /* emux_effect.c */ #ifdef SNDRV_EMUX_USE_RAW_EFFECT -void snd_emux_create_effect(snd_emux_port_t *p); -void snd_emux_delete_effect(snd_emux_port_t *p); -void snd_emux_clear_effect(snd_emux_port_t *p); -void snd_emux_setup_effect(snd_emux_voice_t *vp); -void snd_emux_send_effect_oss(snd_emux_port_t *port, snd_midi_channel_t *chan, int type, int val); -void snd_emux_send_effect(snd_emux_port_t *port, snd_midi_channel_t *chan, int type, int val, int mode); +void snd_emux_create_effect(struct snd_emux_port *p); +void snd_emux_delete_effect(struct snd_emux_port *p); +void snd_emux_clear_effect(struct snd_emux_port *p); +void snd_emux_setup_effect(struct snd_emux_voice *vp); +void snd_emux_send_effect_oss(struct snd_emux_port *port, + struct snd_midi_channel *chan, int type, int val); +void snd_emux_send_effect(struct snd_emux_port *port, + struct snd_midi_channel *chan, int type, int val, int mode); #endif /* emux_nrpn.c */ -void snd_emux_sysex(void *private_data, unsigned char *buf, int len, int parsed, snd_midi_channel_set_t *chset); -int snd_emux_xg_control(snd_emux_port_t *port, snd_midi_channel_t *chan, int param); -void snd_emux_nrpn(void *private_data, snd_midi_channel_t *chan, snd_midi_channel_set_t *chset); +void snd_emux_sysex(void *private_data, unsigned char *buf, int len, + int parsed, struct snd_midi_channel_set *chset); +int snd_emux_xg_control(struct snd_emux_port *port, + struct snd_midi_channel *chan, int param); +void snd_emux_nrpn(void *private_data, struct snd_midi_channel *chan, + struct snd_midi_channel_set *chset); /* emux_oss.c */ -void snd_emux_init_seq_oss(snd_emux_t *emu); -void snd_emux_detach_seq_oss(snd_emux_t *emu); +void snd_emux_init_seq_oss(struct snd_emux *emu); +void snd_emux_detach_seq_oss(struct snd_emux *emu); /* emux_proc.c */ #ifdef CONFIG_PROC_FS -void snd_emux_proc_init(snd_emux_t *emu, snd_card_t *card, int device); -void snd_emux_proc_free(snd_emux_t *emu); +void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device); +void snd_emux_proc_free(struct snd_emux *emu); #endif #define STATE_IS_PLAYING(s) ((s) & SNDRV_EMUX_ST_ON) /* emux_hwdep.c */ -int snd_emux_init_hwdep(snd_emux_t *emu); -void snd_emux_delete_hwdep(snd_emux_t *emu); +int snd_emux_init_hwdep(struct snd_emux *emu); +void snd_emux_delete_hwdep(struct snd_emux *emu); #endif |