aboutsummaryrefslogtreecommitdiffstats
path: root/sound/synth/emux/emux_proc.c
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_proc.c
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_proc.c')
-rw-r--r--sound/synth/emux/emux_proc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/synth/emux/emux_proc.c b/sound/synth/emux/emux_proc.c
index 0f155d68de0d..a70a179f6947 100644
--- a/sound/synth/emux/emux_proc.c
+++ b/sound/synth/emux/emux_proc.c
@@ -30,10 +30,10 @@
30#ifdef CONFIG_PROC_FS 30#ifdef CONFIG_PROC_FS
31 31
32static void 32static void
33snd_emux_proc_info_read(snd_info_entry_t *entry, 33snd_emux_proc_info_read(struct snd_info_entry *entry,
34 snd_info_buffer_t *buf) 34 struct snd_info_buffer *buf)
35{ 35{
36 snd_emux_t *emu; 36 struct snd_emux *emu;
37 int i; 37 int i;
38 38
39 emu = entry->private_data; 39 emu = entry->private_data;
@@ -66,7 +66,7 @@ snd_emux_proc_info_read(snd_info_entry_t *entry,
66 } 66 }
67#if 0 /* debug */ 67#if 0 /* debug */
68 if (emu->voices[0].state != SNDRV_EMUX_ST_OFF && emu->voices[0].ch >= 0) { 68 if (emu->voices[0].state != SNDRV_EMUX_ST_OFF && emu->voices[0].ch >= 0) {
69 snd_emux_voice_t *vp = &emu->voices[0]; 69 struct snd_emux_voice *vp = &emu->voices[0];
70 snd_iprintf(buf, "voice 0: on\n"); 70 snd_iprintf(buf, "voice 0: on\n");
71 snd_iprintf(buf, "mod delay=%x, atkhld=%x, dcysus=%x, rel=%x\n", 71 snd_iprintf(buf, "mod delay=%x, atkhld=%x, dcysus=%x, rel=%x\n",
72 vp->reg.parm.moddelay, 72 vp->reg.parm.moddelay,
@@ -107,9 +107,9 @@ snd_emux_proc_info_read(snd_info_entry_t *entry,
107} 107}
108 108
109 109
110void snd_emux_proc_init(snd_emux_t *emu, snd_card_t *card, int device) 110void snd_emux_proc_init(struct snd_emux *emu, struct snd_card *card, int device)
111{ 111{
112 snd_info_entry_t *entry; 112 struct snd_info_entry *entry;
113 char name[64]; 113 char name[64];
114 114
115 sprintf(name, "wavetableD%d", device); 115 sprintf(name, "wavetableD%d", device);
@@ -127,7 +127,7 @@ void snd_emux_proc_init(snd_emux_t *emu, snd_card_t *card, int device)
127 emu->proc = entry; 127 emu->proc = entry;
128} 128}
129 129
130void snd_emux_proc_free(snd_emux_t *emu) 130void snd_emux_proc_free(struct snd_emux *emu)
131{ 131{
132 if (emu->proc) { 132 if (emu->proc) {
133 snd_info_unregister(emu->proc); 133 snd_info_unregister(emu->proc);