+ " pad=" + pad.getNativeAddress());
Arrays.fill(data, color++);
buffer.getByteBuffer().put(data, 0, data.length);
}
});
fakesrc.connect("handoff", new Closure() {
@SuppressWarnings("unused")
public void invoke(Element element, Buffer buffer, Pad pad) {
System.out.println("Closure: Element=" + element.getNativeAddress()
+ " buffer=" + buffer.getNativeAddress()
+ " pad=" + pad.getNativeAddress());