X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fsynth%2Femux%2Femux.c;fp=sound%2Fsynth%2Femux%2Femux.c;h=7c8e328fae6274142c9253c7baf556af86e92792;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=573e3701c14f02f526bac8777d86fa922e36d2a0;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/sound/synth/emux/emux.c b/sound/synth/emux/emux.c index 573e3701c..7c8e328fa 100644 --- a/sound/synth/emux/emux.c +++ b/sound/synth/emux/emux.c @@ -45,7 +45,7 @@ int snd_emux_new(struct snd_emux **remu) return -ENOMEM; spin_lock_init(&emu->voice_lock); - mutex_init(&emu->register_mutex); + init_MUTEX(&emu->register_mutex); emu->client = -1; #ifdef CONFIG_SND_SEQUENCER_OSS @@ -63,7 +63,6 @@ int snd_emux_new(struct snd_emux **remu) return 0; } -EXPORT_SYMBOL(snd_emux_new); /* */ @@ -137,7 +136,6 @@ int snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, ch return 0; } -EXPORT_SYMBOL(snd_emux_register); /* */ @@ -173,8 +171,18 @@ int snd_emux_free(struct snd_emux *emu) return 0; } + +EXPORT_SYMBOL(snd_emux_new); +EXPORT_SYMBOL(snd_emux_register); EXPORT_SYMBOL(snd_emux_free); +EXPORT_SYMBOL(snd_emux_terminate_all); +EXPORT_SYMBOL(snd_emux_lock_voice); +EXPORT_SYMBOL(snd_emux_unlock_voice); + +/* soundfont.c */ +EXPORT_SYMBOL(snd_sf_linear_to_log); + /* * INIT part