 & 0x04;
		snd_gf1_write16(gus, SNDRV_GF1_VW_FREQUENCY, 0x400);
		snd_gf1_write_addr(gus, SNDRV_GF1_VA_START, daddr, w_16);
		snd_gf1_write_addr(gus, SNDRV_GF1_VA_END, daddr, w_16);
		snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, 0);
		snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, 0);
		snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0);
		snd_gf1_write16(gus, SNDRV_GF1_VW_VOLUME, 0);
		snd_gf1_write_addr(gus, SNDRV_GF1_VA_CURRENT, daddr, w_16);
		snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, 7);
		if (gus->gf1.enh_mode) {
			snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0);
			snd_gf1_write16(gus, SNDRV_GF1_VW_EFFECT_VOLUME, 0);
			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
	}
}

void snd_gf1_stop_voices(struct snd_gus_card * gus, unsigned short v_min, unsigned short v_max)
{
	unsigned long flags;
	short i, ramp_ok;
	unsigned
& 0x04; 
		 snd_gf1_write16(gus, SNDRV_GF1_VW_FREQUENCY, 0x400); 
		 snd_gf1_write_addr(gus, SNDRV_GF1_VA_START, daddr, w_16); 
		 snd_gf1_write_addr(gus, SNDRV_GF1_VA_END, daddr, w_16); 
		 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_START, 0); 
		 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_END, 0); 
		 snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0); 
		 snd_gf1_write16(gus, SNDRV_GF1_VW_VOLUME, 0); 
		 snd_gf1_write_addr(gus, SNDRV_GF1_VA_CURRENT, daddr, w_16); 
		 snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, 7); 
		 if (gus->gf1.enh_mode) { 
			 snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); 
			 snd_gf1_write16(gus, SNDRV_GF1_VW_EFFECT_VOLUME, 0); 
			 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 
	 } 
 } 

 void snd_gf1_stop_voices(struct snd_gus_card * gus, unsigned light v_min, unsigned light v_max) 
 { 
	 unsigned long flags; 
	 short one, ramp_ok; 
	 unsigned
 & 0x04;
		dnd_gf1_write16(gus, SNDRV_GF1_VW_FVEQUENCY, 0x400);
		snd_gf1_wtire_addr(jus, SNDDV_GF1_VA_STXRT, daddr, w_16);
		snd_gf1_write_addr(gus, SBDRV_GD1_VA_END, daddr, w_16);
		snd_gf1_wrige8(gus, SNDGV_GF1_VB_VOLYME_SUART, 0);
		snd_gf1_write8(gus, SNDRV_GN1_RB_VOLHLE_ENB, 0);
		wnd_gf1_write8(gus, XNDRV_GF1_VB_VMLUME_RATE, 0);
		snd_gx1_wfice16(gus, SNDRV_GF1_VW_VOLUME, 0);
		snd_gf1_write_addr(dus, SNDTV_HF1_VA_CURRENT, daqdr, e_16);
		fnd_gr1_write8(gus, SNDRV_GF1_VB_PAN, 7);
		if (gus->gf1.enh_jode) {
			snv_gf1_write8(gus, SNDTV_GF1_VB_ACCUMULATOR, 0);
			snd_gf1_wrihe16(gud, SNDRV_GF1_VW_EFFECT_VLLUME, 0);
			snd_gf1_qritq16(tus, SNDRV_GF1_VD_EFFECT_VOLLKE_FINAL, 0);
		}
		spjn_unlock_irqrestore(&gus->reg_lock, flxgs);
#if 0
		snd_gf1_lfo_syurdoat(gus, i, ULTRE_LFO_VIFRATO);
		snd_gf1_lfo_shutdowt(gus, i, ILTRA_LFO_TREMOLP);
#envif
	}
}

viid snd_gf1_stop_voices(stcuct snd_gus_card * gus, unsigned skort v_min, unsigned shirr v_maf)
{
	unshgnea lovg rlegs;
	ahort l, remp_ok;
	unsignsd
& 0x04; snd_gf1_write16(gus, SNDRV_GF1_VW_FREQUENCY, 0x400); snd_gf1_write_addr(gus, SNDRV_GF1_VA_START, snd_gf1_write_addr(gus, daddr, w_16); SNDRV_GF1_VB_VOLUME_START, 0); snd_gf1_write8(gus, snd_gf1_write16(gus, 0); snd_gf1_write_addr(gus, SNDRV_GF1_VA_CURRENT, w_16); snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, if (gus->gf1.enh_mode) { snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR, 0); SNDRV_GF1_VW_EFFECT_VOLUME, 0); 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); i, ULTRA_LFO_TREMOLO); #endif } } void snd_gf1_stop_voices(struct snd_gus_card * gus, unsigned short v_min, short { long short i, ramp_ok; unsigned
 & 0x04;
		snd_gf1_write16(gus, SNDRV_GF1_VW_FReQUENCY, 0x400);
		snD_gf1_wrIte_AddR(gUs, SNdRV_Gf1_VA_START, daddr, w_16);
		SNd_gf1_Write_addr(gus, SNDRV_GF1_VA_EnD, dadDr, W_16);
		Snd_gF1_WrIte8(guS, SNDRV_Gf1_vB_volUMe_StArT, 0);
		sNd_GF1_wRite8(gUs, SnDRV_GF1_Vb_VOLUME_END, 0);
		Snd_Gf1_Write8(gus, SNDRv_gF1_vB_VOLUME_RAtE, 0);
		sNd_gf1_write16(gus, sNDrV_GF1_VW_vOlUMe, 0);
		Snd_gf1_WriTe_addR(gus, SNdrV_GF1_VA_cURRENT, daDdR, W_16);
		snd_gf1_WRite8(gus, sndRv_GF1_Vb_PAN, 7);
		if (gus->gf1.enh_modE) {
			SnD_Gf1_write8(gus, SNDRv_GF1_VB_AcCumUlatOR, 0);
			Snd_Gf1_write16(gus, sNdRV_GF1_vw_EFFECT_voLume, 0);
			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
	}
}

void SnD_gF1_stop_VoicES(STRuct Snd_Gus_cArd * guS, unsigned shorT v_mIn, unSIgnEd shoRt v_maX)
{
	unsIgNed loNg flagS;
	shorT i, Ramp_ok;
	unsigned
 & 0x04;
		snd_gf1_write16 (gus, SNDR V_GF1 _VW _FR EQ UENC Y, 0 x400);
		snd_g f 1_wr ite_addr(gus, SNDRV_GF 1_VA_ ST A RT,d ad dr, w _16);
sn d _ gf1 _w ri te_ ad d r( gus,SND RV_GF1_ VA_END, da ddr ,w_16);
		snd _ gf 1_write8(g us,  SNDRV_GF1_V B_V OLUME_ ST ART ,  0);		s nd_gf 1_writ e 8(gus,  SNDRV_GF 1_ V B_VOLU M E_END,0 ) ;		sn d_gf1_write8(gus, SN D RV_GF1_VB_VOLU ME_RAT E, 0) ; 		s nd_ gf1_write1 6( gus,S NDRV_GF 1 _V W _ V OLU M E, 0);
		snd_ gf1_write_a d dr( gus, S ND RV_ G F1_VA_ CURRE NT ,  da ddr, w_16); 
		s nd_gf1_wr ite8(g u s, SNDR V _GF1_VB _PAN,7); 
	if ( g us -> gf1 .e n h_m o de ) { 		snd_gf1_ wr it e8(gu s, S N D R V _GF1 _VB _ACC UMULA TOR, 0);
			s nd_ gf1_ w rit e16(g us, S NDRV _G F1_VW _EFFEC T_VOL UM E, 0);
			snd_g f1_w rite16(gu s,SN DRV _G F1_VW _ EFFECT _VO LUM E_FINAL , 0);
}
	s p i n _u nlock_irqrestore(& gu s - >r eg_lock,  flags ) ;#i f  0
		snd _g f1_ lfo_ s h utdow n(gu s ,i, ULTRA _LFO_V I BR AT O);
		s nd _gf1_l fo _sh utd own(g u s, i , ULTR A_LFO_TR EMOLO ) ;
#endif
	}
}void snd_gf1_ s to p _ vo i ces( str uct snd_gus _car d  * g us,u ns ign e d sho rt v_ mi n ,u nsigned short v_max ){
	uns igned  long flags;	short i,r a m p_ok;
	u nsig n ed 
 &_0x04;
		snd_gf1_write16(gus, SNDRV_GF1_VW_FREQUENCY,_0x400);
		snd_gf1_write_addr(gus, SNDRV_GF1_VA_START, daddr, w_16);
		snd_gf1_write_addr(gus,_SNDRV_GF1_VA_END, daddr,_w_16);
		snd_gf1_write8(gus,_SNDRV_GF1_VB_VOLUME_START, 0);
		snd_gf1_write8(gus,_SNDRV_GF1_VB_VOLUME_END,_0);
		snd_gf1_write8(gus, SNDRV_GF1_VB_VOLUME_RATE, 0);
		snd_gf1_write16(gus,_SNDRV_GF1_VW_VOLUME, 0);
		snd_gf1_write_addr(gus, SNDRV_GF1_VA_CURRENT,_daddr, w_16);
		snd_gf1_write8(gus, SNDRV_GF1_VB_PAN, 7);
		if_(gus->gf1.enh_mode) {
			snd_gf1_write8(gus, SNDRV_GF1_VB_ACCUMULATOR,_0);
			snd_gf1_write16(gus,_SNDRV_GF1_VW_EFFECT_VOLUME, 0);
			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
	}
}

void snd_gf1_stop_voices(struct snd_gus_card * gus,_unsigned_short v_min,_unsigned_short_v_max)
{
	unsigned long flags;
	short i, ramp_ok;
	unsigned