For performance improvements.
该提问来源于开源项目:caprica/vlcj
For performance improvements.
该提问来源于开源项目:caprica/vlcj
Direct mapping seems quite easy to implement and seems to work.
Only thing not supported that vlcj uses is String[] as a native method parameter (e.g. for libvlc_new).
Cases such as that (there are I think 5 of them) can just fall-back to the interface-style binding for those functions only. Or there may be a JNA solution for that.