Code example for SourceDataLine

Methods: write

0
	} 
 
	public void feedData(byte[] data, int count)
	{ 
		if (output != null)
			output.write(data, 0, count);
	} 
 
	@Override 
	public void run() 
	{ 
		while (true) { 
			if (running.get() == 0) {
				try { 
					Thread.sleep(3000);
				} catch (InterruptedException ex) {
					; 
				} 
			}