aboutsummaryrefslogtreecommitdiffstats
path: root/sound/synth/emux/emux_voice.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 08:24:47 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:18:14 -0500
commit03da312ac080b4f5c9359c233b8812cc93a035fe (patch)
tree1a6767ca18964b53442ecfd538141b12e81b23be /sound/synth/emux/emux_voice.h
parentee42381e71c56328db9e9d64d19a4de7a2f09a93 (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.h67
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 */
32int snd_emux_init_seq(snd_emux_t *emu, snd_card_t *card, int index); 32int snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index);
33void snd_emux_detach_seq(snd_emux_t *emu); 33void snd_emux_detach_seq(struct snd_emux *emu);
34snd_emux_port_t *snd_emux_create_port(snd_emux_t *emu, char *name, int max_channels, int type, snd_seq_port_callback_t *callback); 34struct snd_emux_port *snd_emux_create_port(struct snd_emux *emu, char *name,
35void snd_emux_reset_port(snd_emux_port_t *port); 35 int max_channels, int type,
36int snd_emux_event_input(snd_seq_event_t *ev, int direct, void *private, int atomic, int hop); 36 struct snd_seq_port_callback *callback);
37int snd_emux_inc_count(snd_emux_t *emu); 37void snd_emux_reset_port(struct snd_emux_port *port);
38void snd_emux_dec_count(snd_emux_t *emu); 38int snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private,
39int snd_emux_init_virmidi(snd_emux_t *emu, snd_card_t *card); 39 int atomic, int hop);
40int snd_emux_delete_virmidi(snd_emux_t *emu); 40int snd_emux_inc_count(struct snd_emux *emu);
41void snd_emux_dec_count(struct snd_emux *emu);
42int snd_emux_init_virmidi(struct snd_emux *emu, struct snd_card *card);
43int snd_emux_delete_virmidi(struct snd_emux *emu);
41 44
42/* Prototypes for emux_synth.c */ 45/* Prototypes for emux_synth.c */
43void snd_emux_init_voices(snd_emux_t *emu); 46void snd_emux_init_voices(struct snd_emux *emu);
44 47
45void snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan); 48void snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan);
46void snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan); 49void snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan);
47void snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan); 50void snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan);
48void snd_emux_terminate_note(void *p, int note, snd_midi_channel_t *chan); 51void snd_emux_terminate_note(void *p, int note, struct snd_midi_channel *chan);
49void snd_emux_control(void *p, int type, struct snd_midi_channel *chan); 52void snd_emux_control(void *p, int type, struct snd_midi_channel *chan);
50 53
51void snd_emux_sounds_off_all(snd_emux_port_t *port); 54void snd_emux_sounds_off_all(struct snd_emux_port *port);
52void snd_emux_update_channel(snd_emux_port_t *port, snd_midi_channel_t *chan, int update); 55void snd_emux_update_channel(struct snd_emux_port *port,
53void snd_emux_update_port(snd_emux_port_t *port, int update); 56 struct snd_midi_channel *chan, int update);
57void snd_emux_update_port(struct snd_emux_port *port, int update);
54 58
55void snd_emux_timer_callback(unsigned long data); 59void 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
59void snd_emux_create_effect(snd_emux_port_t *p); 63void snd_emux_create_effect(struct snd_emux_port *p);
60void snd_emux_delete_effect(snd_emux_port_t *p); 64void snd_emux_delete_effect(struct snd_emux_port *p);
61void snd_emux_clear_effect(snd_emux_port_t *p); 65void snd_emux_clear_effect(struct snd_emux_port *p);
62void snd_emux_setup_effect(snd_emux_voice_t *vp); 66void snd_emux_setup_effect(struct snd_emux_voice *vp);
63void snd_emux_send_effect_oss(snd_emux_port_t *port, snd_midi_channel_t *chan, int type, int val); 67void snd_emux_send_effect_oss(struct snd_emux_port *port,
64void 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);
69void 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 */
68void snd_emux_sysex(void *private_data, unsigned char *buf, int len, int parsed, snd_midi_channel_set_t *chset); 74void snd_emux_sysex(void *private_data, unsigned char *buf, int len,
69int 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);
70void snd_emux_nrpn(void *private_data, snd_midi_channel_t *chan, snd_midi_channel_set_t *chset); 76int snd_emux_xg_control(struct snd_emux_port *port,
77 struct snd_midi_channel *chan, int param);
78void 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 */
73void snd_emux_init_seq_oss(snd_emux_t *emu); 82void snd_emux_init_seq_oss(struct snd_emux *emu);
74void snd_emux_detach_seq_oss(snd_emux_t *emu); 83void 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
78void snd_emux_proc_init(snd_emux_t *emu, snd_card_t *card, int device); 87void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device);
79void snd_emux_proc_free(snd_emux_t *emu); 88void 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 */
85int snd_emux_init_hwdep(snd_emux_t *emu); 94int snd_emux_init_hwdep(struct snd_emux *emu);
86void snd_emux_delete_hwdep(snd_emux_t *emu); 95void snd_emux_delete_hwdep(struct snd_emux *emu);
87 96
88#endif 97#endif