Codec2 native C library connected to Java class