@Override
	public int createAudioData(byte[] data, int format, int sampleRate,
			boolean isBigEndian) {
		int buffer = alGenBuffers();
		boolean isStereo = format == IAudioDevice.FORMAT_STEREO_16
				|| format == IAudioDevice.FORMAT_MONO_16;
		alBufferData(buffer, format, toByteBuffer(data, isStereo, isBigEndian),
				sampleRate);
		return buffer;
	}