diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 08:24:47 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:18:14 -0500 |
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 @@ | |||
29 | #include <sound/emux_synth.h> | 29 | #include <sound/emux_synth.h> |
30 | 30 | ||
31 | /* Prototypes for emux_seq.c */ | 31 | /* Prototypes for emux_seq.c */ |
32 | int snd_emux_init_seq(snd_emux_t *emu, snd_card_t *card, int index); | 32 | int snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index); |
33 | void snd_emux_detach_seq(snd_emux_t *emu); | 33 | void snd_emux_detach_seq(struct snd_emux *emu); |
34 | 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); | 34 | struct snd_emux_port *snd_emux_create_port(struct snd_emux *emu, char *name, |
35 | void snd_emux_reset_port(snd_emux_port_t *port); | 35 | int max_channels, int type, |
36 | int snd_emux_event_input(snd_seq_event_t *ev, int direct, void *private, int atomic, int hop); | 36 | struct snd_seq_port_callback *callback); |
37 | int snd_emux_inc_count(snd_emux_t *emu); | 37 | void snd_emux_reset_port(struct snd_emux_port *port); |
38 | void snd_emux_dec_count(snd_emux_t *emu); | 38 | int snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private, |
39 | int snd_emux_init_virmidi(snd_emux_t *emu, snd_card_t *card); | 39 | int atomic, int hop); |
40 | int snd_emux_delete_virmidi(snd_emux_t *emu); | 40 | int snd_emux_inc_count(struct snd_emux *emu); |
41 | void snd_emux_dec_count(struct snd_emux *emu); | ||
42 | int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card); | ||
43 | int snd_emux_delete_virmidi(struct snd_emux *emu); | ||
41 | 44 | ||
42 | /* Prototypes for emux_synth.c */ | 45 | /* Prototypes for emux_synth.c */ |
43 | void snd_emux_init_voices(snd_emux_t *emu); | 46 | void snd_emux_init_voices(struct snd_emux *emu); |
44 | 47 | ||
45 | void snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan); | 48 | void snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan); |
46 | void snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan); | 49 | void snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan); |
47 | void snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan); | 50 | void snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan); |
48 | void snd_emux_terminate_note(void *p, int note, snd_midi_channel_t *chan); | 51 | void snd_emux_terminate_note(void *p, int note, struct snd_midi_channel *chan); |
49 | void snd_emux_control(void *p, int type, struct snd_midi_channel *chan); | 52 | void snd_emux_control(void *p, int type, struct snd_midi_channel *chan); |
50 | 53 | ||
51 | void snd_emux_sounds_off_all(snd_emux_port_t *port); | 54 | void snd_emux_sounds_off_all(struct snd_emux_port *port); |
52 | void snd_emux_update_channel(snd_emux_port_t *port, snd_midi_channel_t *chan, int update); | 55 | void snd_emux_update_channel(struct snd_emux_port *port, |
53 | void snd_emux_update_port(snd_emux_port_t *port, int update); | 56 | struct snd_midi_channel *chan, int update); |
57 | void snd_emux_update_port(struct snd_emux_port *port, int update); | ||
54 | 58 | ||
55 | void snd_emux_timer_callback(unsigned long data); | 59 | void snd_emux_timer_callback(unsigned long data); |
56 | 60 | ||
57 | /* emux_effect.c */ | 61 | /* emux_effect.c */ |
58 | #ifdef SNDRV_EMUX_USE_RAW_EFFECT | 62 | #ifdef SNDRV_EMUX_USE_RAW_EFFECT |
59 | void snd_emux_create_effect(snd_emux_port_t *p); | 63 | void snd_emux_create_effect(struct snd_emux_port *p); |
60 | void snd_emux_delete_effect(snd_emux_port_t *p); | 64 | void snd_emux_delete_effect(struct snd_emux_port *p); |
61 | void snd_emux_clear_effect(snd_emux_port_t *p); | 65 | void snd_emux_clear_effect(struct snd_emux_port *p); |
62 | void snd_emux_setup_effect(snd_emux_voice_t *vp); | 66 | void snd_emux_setup_effect(struct snd_emux_voice *vp); |
63 | void snd_emux_send_effect_oss(snd_emux_port_t *port, snd_midi_channel_t *chan, int type, int val); | 67 | void snd_emux_send_effect_oss(struct snd_emux_port *port, |
64 | void snd_emux_send_effect(snd_emux_port_t *port, snd_midi_channel_t *chan, int type, int val, int mode); | 68 | struct snd_midi_channel *chan, int type, int val); |
69 | void snd_emux_send_effect(struct snd_emux_port *port, | ||
70 | struct snd_midi_channel *chan, int type, int val, int mode); | ||
65 | #endif | 71 | #endif |
66 | 72 | ||
67 | /* emux_nrpn.c */ | 73 | /* emux_nrpn.c */ |
68 | void snd_emux_sysex(void *private_data, unsigned char *buf, int len, int parsed, snd_midi_channel_set_t *chset); | 74 | void snd_emux_sysex(void *private_data, unsigned char *buf, int len, |
69 | int snd_emux_xg_control(snd_emux_port_t *port, snd_midi_channel_t *chan, int param); | 75 | int parsed, struct snd_midi_channel_set *chset); |
70 | void snd_emux_nrpn(void *private_data, snd_midi_channel_t *chan, snd_midi_channel_set_t *chset); | 76 | int snd_emux_xg_control(struct snd_emux_port *port, |
77 | struct snd_midi_channel *chan, int param); | ||
78 | void snd_emux_nrpn(void *private_data, struct snd_midi_channel *chan, | ||
79 | struct snd_midi_channel_set *chset); | ||
71 | 80 | ||
72 | /* emux_oss.c */ | 81 | /* emux_oss.c */ |
73 | void snd_emux_init_seq_oss(snd_emux_t *emu); | 82 | void snd_emux_init_seq_oss(struct snd_emux *emu); |
74 | void snd_emux_detach_seq_oss(snd_emux_t *emu); | 83 | void snd_emux_detach_seq_oss(struct snd_emux *emu); |
75 | 84 | ||
76 | /* emux_proc.c */ | 85 | /* emux_proc.c */ |
77 | #ifdef CONFIG_PROC_FS | 86 | #ifdef CONFIG_PROC_FS |
78 | void snd_emux_proc_init(snd_emux_t *emu, snd_card_t *card, int device); | 87 | void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device); |
79 | void snd_emux_proc_free(snd_emux_t *emu); | 88 | void snd_emux_proc_free(struct snd_emux *emu); |
80 | #endif | 89 | #endif |
81 | 90 | ||
82 | #define STATE_IS_PLAYING(s) ((s) & SNDRV_EMUX_ST_ON) | 91 | #define STATE_IS_PLAYING(s) ((s) & SNDRV_EMUX_ST_ON) |
83 | 92 | ||
84 | /* emux_hwdep.c */ | 93 | /* emux_hwdep.c */ |
85 | int snd_emux_init_hwdep(snd_emux_t *emu); | 94 | int snd_emux_init_hwdep(struct snd_emux *emu); |
86 | void snd_emux_delete_hwdep(snd_emux_t *emu); | 95 | void snd_emux_delete_hwdep(struct snd_emux *emu); |
87 | 96 | ||
88 | #endif | 97 | #endif |