Code example for SourceDataLine

Methods: stop

0
		return res;
	} 
 
	public void stopSound() { 
		if (clip != null) {
			clip.stop();
		} 
		isRunning = false;
	} 
 
	public boolean isVolumeSupported() { 
		return true; 
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java