Phonon java binding
Thiago Macieira
thiago at kde.org
Thu Jan 22 16:59:26 GMT 2009
Em Quinta-feira 22 Janeiro 2009, às 15:59:21, Aekold Helbrass escreveu:
> Thanx for advice, but Jambi is not very good choise for java
> developer. It has following problems:
> - platform dependent - you should distribute your application with
> libs for target platform, while Swing and JNA is platform independent.
> - size of libs about 20MB. it is very unlikely to use 20MB of libs
> with program about 20KB.
> - Jambi is Qt dependent, version compatibilities could be and issue.
Phonon is Qt-dependent, so this is not an argument.
> - Jambi is autogenerated wrapper, not quite a binding, and it does not
> helps to understand how Phonon works internally.
Jambi is not an autogenerated wrapper. There's a binding tool, true, but it's
tweaked so that the end result is proper (it's no more a binding than PyQt,
Qyoto, and any other Smoke-based bindings).
There's a lot of Java code in Jambi too that is not generated.
Phonon is also written in C++, so if you want to understand how it works
internally, you need to read the C++ part of it.
> So my question is still here, is there single *.so file to use and is
> there something similar to xine.h to know what to use?
There are two problems with that question.
First and foremost, it's a contradiction in your terms. An *.so file is
platform-dependent, so you can't use it (see your first argument above, which I
left quoted). libxine.so is also 324k in size, so it's already more than 10x
larger than your 20k application, thereby negating your second argument.
As for the second problem, this is the kde-multimedia mailing list. We can
help you with Phonon, not Xine.
If you want to load the libphonon.so file (515k), remember that it links to
QtCore (3.1M), QtGui (14M) and QtDBus (510k). So you still need to handle that
much space.
In other words, Jambi is worth your time.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Software Engineer - Nokia, Qt Software
Qt Software is hiring - ask me
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20090122/31b4966b/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia
More information about the kde-multimedia
mailing list