![]() |
![]() |
#1 |
Member
Join Date: Aug 2004
Location: England
Posts: 4
|
![]()
Is it likely that there will be C bindings to libmusepack provided any time soon?
I ask as I have been intending to add muspack support to xine for a while now. libmusepack would in theory make this much easier to achieve, however there is a general policy against including any C++ code. |
![]() |
![]() |
![]() |
#2 |
Procrastinator
Join Date: Jul 2004
Posts: 131
|
![]()
I'd love to add C bindings, but i fear it's a bit over my skills right now. Maybe someone will be up to the task and send them
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Aug 2004
Location: England
Posts: 4
|
![]()
Ok, I will try and produce something usuable myself.
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Aug 2004
Location: Emeryville, CA
Posts: 52
|
![]()
I'm thinking about working on this as well. Should we try and pool efforts? Have you made any progress on this?
|
![]() |
![]() |
![]() |
#5 |
Musepack Nanny
Join Date: Jul 2004
Posts: 168
![]() |
![]()
Let us know if you need help. We can have a CVS server for this purpose if several of you wish to work on new code together.
|
![]() |
![]() |
![]() |
#6 | |
Senior Member
Join Date: Aug 2004
Location: Emeryville, CA
Posts: 52
|
![]() Quote:
How can I access the CVS server? |
|
![]() |
![]() |
![]() |
#7 |
Musepack Nanny
Join Date: Jul 2004
Posts: 168
![]() |
![]()
When I'm convinced the community is determined to work together, rather than make 15 different versions of the XMMS plugin, there will be a CVS server available for them to use. Anyone who's interested in collaborating can start a thread and then I'll see how many really want it.
|
![]() |
![]() |
![]() |
#8 | |
Senior Member
Join Date: Aug 2004
Location: Emeryville, CA
Posts: 52
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Senior Member
Join Date: Aug 2004
Location: Emeryville, CA
Posts: 52
|
![]()
I've completed the first rough conversion of libmusepack to C. The sample app code is still C++ but everything else is now pure C code. The sample program compiles and runs and produces bit-identical output to the C++ version.
You can browse the code at http://www.caddr.com/code/libmusepack/ . This url is also a darcs repository so if you have darcs you can just run: darcs get http://www.caddr.com/code/libmusepack/ To check out a copy of the code. I've also built doxygen docs of the code which you can find here: http://www.caddr.com/code/libmusepack/docs...html/files.html I'd appreciate any feedback on the new API or code layout. I'd also like to discuss some slight reorganization of the code. Is IRC still the preferred venue for this? I kind of prefer the forum since it gives people a chance to contribute that aren't in IRC and because it preserves the history of discussions. |
![]() |
![]() |
![]() |
#10 |
Senior Member
Join Date: Aug 2004
Location: Emeryville, CA
Posts: 52
|
![]()
I've done some cleanup and documentation work on the C version of libmusepack. The updated docs are available here:
http://www.caddr.com/code/libmusepack/docs/html/ Now using musepack is as simple as including one header file and calling 4 library functions. I'd appreciate any comments or suggestions on the new interface before we try to approach any other developers with this. |
![]() |
![]() |
![]() |
#11 |
Procrastinator
Join Date: Jul 2004
Posts: 131
|
![]()
Thanks for your work
I think that mplayer and xine devs should look at it. After all, the C lib is mainly done for them to include musepack support in their players. So their feedback is important. |
![]() |
![]() |
![]() |
#12 | |
Senior Member
Join Date: Aug 2004
Location: Emeryville, CA
Posts: 52
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#13 |
Admin
Join Date: Jul 2004
Posts: 372
![]() |
![]()
Yes, I'll contact them right now.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Python bindings for libmusepack | piman | Development | 1 | 27 January 2005 04:59 pm |