private SourceDataLine openSourceDataLine(int bufferSize) {
		try {
			AudioFormat format = soundClip.getFormat();
			Class<?> sourceDataLineClass = Class.forName("javax.sound.sampled.SourceDataLine");
			DataLine.Info info = new DataLine.Info(sourceDataLineClass, format);
			if (!AudioSystem.isLineSupported(info)) {
				throw new ErrorException("SoundClip: Unsupported data line format");
			}
			SourceDataLine line = (SourceDataLine) AudioSystem.getLine(info);
			line.open(format, bufferSize);
			return line;
		} catch (Exception ex) {
			throw new ErrorException(ex);
		}
	}