aboutsummaryrefslogtreecommitdiffstats
path: root/sound/synth/emux
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-04-28 09:13:40 -0400
committerJaroslav Kysela <perex@suse.cz>2006-06-22 15:33:00 -0400
commit95ff17564b6db34cad0cd67678fb79174e77531e (patch)
treee1ac40bfc703e6a32c62407081e313f1b14d2d46 /sound/synth/emux
parentcbef55f3d8e4e7efef4703c82302a0021d781483 (diff)
[ALSA] emux - Move EXPORT_SYMBOL() to adjacent to each function
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth/emux')
-rw-r--r--sound/synth/emux/emux.c12
-rw-r--r--sound/synth/emux/emux_synth.c5
-rw-r--r--sound/synth/emux/soundfont.c4
3 files changed, 10 insertions, 11 deletions
diff --git a/sound/synth/emux/emux.c b/sound/synth/emux/emux.c
index fc733bbf448..573e3701c14 100644
--- a/sound/synth/emux/emux.c
+++ b/sound/synth/emux/emux.c
@@ -63,6 +63,7 @@ int snd_emux_new(struct snd_emux **remu)
63 return 0; 63 return 0;
64} 64}
65 65
66EXPORT_SYMBOL(snd_emux_new);
66 67
67/* 68/*
68 */ 69 */
@@ -136,6 +137,7 @@ int snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, ch
136 return 0; 137 return 0;
137} 138}
138 139
140EXPORT_SYMBOL(snd_emux_register);
139 141
140/* 142/*
141 */ 143 */
@@ -171,18 +173,8 @@ int snd_emux_free(struct snd_emux *emu)
171 return 0; 173 return 0;
172} 174}
173 175
174
175EXPORT_SYMBOL(snd_emux_new);
176EXPORT_SYMBOL(snd_emux_register);
177EXPORT_SYMBOL(snd_emux_free); 176EXPORT_SYMBOL(snd_emux_free);
178 177
179EXPORT_SYMBOL(snd_emux_terminate_all);
180EXPORT_SYMBOL(snd_emux_lock_voice);
181EXPORT_SYMBOL(snd_emux_unlock_voice);
182
183/* soundfont.c */
184EXPORT_SYMBOL(snd_sf_linear_to_log);
185
186 178
187/* 179/*
188 * INIT part 180 * INIT part
diff --git a/sound/synth/emux/emux_synth.c b/sound/synth/emux/emux_synth.c
index 24705d15ebd..3733118d39b 100644
--- a/sound/synth/emux/emux_synth.c
+++ b/sound/synth/emux/emux_synth.c
@@ -434,6 +434,7 @@ snd_emux_terminate_all(struct snd_emux *emu)
434 spin_unlock_irqrestore(&emu->voice_lock, flags); 434 spin_unlock_irqrestore(&emu->voice_lock, flags);
435} 435}
436 436
437EXPORT_SYMBOL(snd_emux_terminate_all);
437 438
438/* 439/*
439 * Terminate all voices associated with the given port 440 * Terminate all voices associated with the given port
@@ -951,6 +952,8 @@ void snd_emux_lock_voice(struct snd_emux *emu, int voice)
951 spin_unlock_irqrestore(&emu->voice_lock, flags); 952 spin_unlock_irqrestore(&emu->voice_lock, flags);
952} 953}
953 954
955EXPORT_SYMBOL(snd_emux_lock_voice);
956
954/* 957/*
955 */ 958 */
956void snd_emux_unlock_voice(struct snd_emux *emu, int voice) 959void snd_emux_unlock_voice(struct snd_emux *emu, int voice)
@@ -965,3 +968,5 @@ void snd_emux_unlock_voice(struct snd_emux *emu, int voice)
965 voice, emu->voices[voice].state); 968 voice, emu->voices[voice].state);
966 spin_unlock_irqrestore(&emu->voice_lock, flags); 969 spin_unlock_irqrestore(&emu->voice_lock, flags);
967} 970}
971
972EXPORT_SYMBOL(snd_emux_unlock_voice);
diff --git a/sound/synth/emux/soundfont.c b/sound/synth/emux/soundfont.c
index 32c27162dfb..7f0bdea0dfd 100644
--- a/sound/synth/emux/soundfont.c
+++ b/sound/synth/emux/soundfont.c
@@ -810,6 +810,9 @@ snd_sf_linear_to_log(unsigned int amount, int offset, int ratio)
810 return v; 810 return v;
811} 811}
812 812
813EXPORT_SYMBOL(snd_sf_linear_to_log);
814
815
813#define OFFSET_MSEC 653117 /* base = 1000 */ 816#define OFFSET_MSEC 653117 /* base = 1000 */
814#define OFFSET_ABSCENT 851781 /* base = 8176 */ 817#define OFFSET_ABSCENT 851781 /* base = 8176 */
815#define OFFSET_SAMPLERATE 1011119 /* base = 44100 */ 818#define OFFSET_SAMPLERATE 1011119 /* base = 44100 */
@@ -1485,4 +1488,3 @@ snd_soundfont_remove_unlocked(struct snd_sf_list *sflist)
1485 unlock_preset(sflist); 1488 unlock_preset(sflist);
1486 return 0; 1489 return 0;
1487} 1490}
1488