private int getSleepTime() {
			//The "500" is actually 1000/2, to accommodate for milliseconds, and half the buffer.
			return (int) (500 * playingLine.available() / (playingLine.getFormat().getFrameRate() * format.getFrameSize()));
		}