diff options
| -rw-r--r-- | include/sound/gus.h | 16 | ||||
| -rw-r--r-- | sound/isa/gus/gus_reset.c | 16 | 
2 files changed, 2 insertions, 30 deletions
| diff --git a/include/sound/gus.h b/include/sound/gus.h index bdd60ffe15c2..1c8fb6c93e50 100644 --- a/include/sound/gus.h +++ b/include/sound/gus.h @@ -513,22 +513,6 @@ struct _SND_IW_LFO_PROGRAM {  	unsigned short depth;  }; -#if 0 -extern irqreturn_t snd_gf1_lfo_effect_interrupt(struct snd_gus_card * gus, snd_gf1_voice_t * voice); -#endif -extern void snd_gf1_lfo_init(struct snd_gus_card * gus); -extern void snd_gf1_lfo_done(struct snd_gus_card * gus); -extern void snd_gf1_lfo_program(struct snd_gus_card * gus, int voice, int lfo_type, struct _SND_IW_LFO_PROGRAM *program); -extern void snd_gf1_lfo_enable(struct snd_gus_card * gus, int voice, int lfo_type); -extern void snd_gf1_lfo_disable(struct snd_gus_card * gus, int voice, int lfo_type); -extern void snd_gf1_lfo_change_freq(struct snd_gus_card * gus, int voice, int lfo_type, int freq); -extern void snd_gf1_lfo_change_depth(struct snd_gus_card * gus, int voice, int lfo_type, int depth); -extern void snd_gf1_lfo_setup(struct snd_gus_card * gus, int voice, int lfo_type, int freq, int current_depth, int depth, int sweep, int shape); -extern void snd_gf1_lfo_shutdown(struct snd_gus_card * gus, int voice, int lfo_type); -#if 0 -extern void snd_gf1_lfo_command(struct snd_gus_card * gus, int voice, unsigned char *command); -#endif -  /* gus_mem.c */  void snd_gf1_mem_lock(struct snd_gf1_mem * alloc, int xup); diff --git a/sound/isa/gus/gus_reset.c b/sound/isa/gus/gus_reset.c index ac5da1281042..326bc6028885 100644 --- a/sound/isa/gus/gus_reset.c +++ b/sound/isa/gus/gus_reset.c @@ -141,10 +141,6 @@ void snd_gf1_stop_voice(struct snd_gus_card * gus, unsigned short voice)  	if (gus->gf1.enh_mode)  		snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0);  	spin_unlock_irqrestore(&gus->reg_lock, flags); -#if 0 -	snd_gf1_lfo_shutdown(gus, voice, ULTRA_LFO_VIBRATO); -	snd_gf1_lfo_shutdown(gus, voice, ULTRA_LFO_TREMOLO); -#endif  }  static void snd_gf1_clear_voices(struct snd_gus_card * gus, unsigned short v_min, @@ -182,10 +178,6 @@ static void snd_gf1_clear_voices(struct snd_gus_card * gus, unsigned short v_min  			snd_gf1_write16(gus, SNDRV_GF1_VW_EFFECT_VOLUME_FINAL, 0);  		}  		spin_unlock_irqrestore(&gus->reg_lock, flags); -#if 0 -		snd_gf1_lfo_shutdown(gus, i, ULTRA_LFO_VIBRATO); -		snd_gf1_lfo_shutdown(gus, i, ULTRA_LFO_TREMOLO); -#endif  	}  } @@ -335,9 +327,7 @@ int snd_gf1_start(struct snd_gus_card * gus)  	} else {  		gus->gf1.sw_lfo = 1;  	} -#if 0 -	snd_gf1_lfo_init(gus); -#endif +  	if (gus->gf1.memory > 0)  		for (i = 0; i < 4; i++)  			snd_gf1_poke(gus, gus->gf1.default_voice_address + i, 0); @@ -391,8 +381,6 @@ int snd_gf1_stop(struct snd_gus_card * gus)  	snd_gf1_i_write8(gus, SNDRV_GF1_GB_RESET, 1);	/* disable IRQ & DAC */  	snd_gf1_timers_done(gus);  	snd_gf1_mem_done(gus); -#if 0 -	snd_gf1_lfo_done(gus); -#endif +  	return 0;  } | 
