Musepack Forums  

Go Back   Musepack Forums > Main > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 14 January 2005, 10:46 am   #1
krtek
Member
 
Join Date: Dec 2004
Posts: 5
Default help needer about new version of libmusepack

Hi, i'm rewritting a plugin that i've coded to use the new C version of libmusepack, and I've some problems (and I'm a little bit lazy to search too :P)

Code:
/// Actually reads data from previously initialized stream. *Call

/// this iteratively to decode the mpc stream.

/// param buffer destination buffer for decoded samples

/// param vbr_update_acc todo document me

/// param vbr_update_bits todo document me

/// return -1 if an error is encountered

/// return 0 if the stream has been completely decoded successfully and there are no more samples

/// return > 0 to indicate the number of bytes that were actually read from the stream.

mpc_uint32_t mpc_decoder_decode(

 * *mpc_decoder *d,

 * *MPC_SAMPLE_FORMAT *buffer, 

 * *mpc_uint32_t *vbr_update_acc, 

 * *mpc_uint32_t *vbr_update_bits);
What must be the values of the to params that need documentation ?

I have some complains about the code of config_types.h too, it'll be a good idea to test and define __CONFIG_TYPES_H_MPC__ instead of __CONFIG_TYPES_H__, because some other libs use the same macro and this leads to some problems
krtek is offline   Reply With Quote
Old 14 January 2005, 10:59 pm   #2
kuniklo
Senior Member
 
kuniklo's Avatar
 
Join Date: Aug 2004
Location: Emeryville, CA
Posts: 52
Default

You can just pass NULL for the last two parameters. They aren't required.

Changing the #define is a good idea. I'll do that before we release the new libmusepack. Thanks for the feedback.
kuniklo is offline   Reply With Quote
Old 17 January 2005, 04:14 pm   #3
krtek
Member
 
Join Date: Dec 2004
Posts: 5
Default

Thanks a lot... now all's fine with my plugin
krtek is offline   Reply With Quote
Old 17 January 2005, 04:47 pm   #4
Lefungus
Procrastinator
 
Lefungus's Avatar
 
Join Date: Jul 2004
Posts: 131
Default

And the awaited question:

What is your plugin ?
Lefungus is offline   Reply With Quote
Old 20 January 2005, 01:28 pm   #5
krtek
Member
 
Join Date: Dec 2004
Posts: 5
Default

I've already talk a little about it on IRC.

It's for an old unix' console player : mp3blaster.

In fact, I have a file server who's connected to my audio system. And I was looking for a console player to play my mpc.
After some search, I've decided to code some plugin for mp3blaster

My code is a litle bit hugly, and there's no recognition of apev2 tag nor id3v2, but i can share it if someone is interested

NB: a complete recompilation of mp3blaster is needed to add the mpc reading capability
krtek is offline   Reply With Quote
Old 20 January 2005, 06:05 pm   #6
xmixahlx
Musepack developer
 
xmixahlx's Avatar
 
Join Date: Nov 2004
Location: seattle, washington usa
Posts: 111
Send a message via ICQ to xmixahlx
Default

perhaps a project called lamip will satisfy your needs

it is a core player with CLI or GUI control, and support many formats via plugins.

also, it supports streaming, alternate output and is constantly in development.

go to #lamip on irc.freenode.net to talk to devs or the homepage:
http://fondriest.frederic.free.fr/realisations/lamip/

if anything, your needs can be met by adding this functionality to the program, and both are happy


later
__________________
-xmixahlx, the one they call "mike"
http://xmixahlx.com -|- http://rarewares.org
xmixahlx is offline   Reply With Quote
Old 22 January 2005, 02:08 pm   #7
krtek
Member
 
Join Date: Dec 2004
Posts: 5
Default

I've already heard of Lamip, but since my last try, it seems that a lot of work were done

However, it still fails a console interface a little bit more useable than the default

If I've some times, I could give a try, but I've exams in few time, so we will see.
krtek is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preferred mppdec version? crazee_canuck MPC for UNIX 3 01 May 2005 07:19 am
libmusepack licensing bagder Development 1 04 March 2005 09:35 pm
Python bindings for libmusepack piman Development 1 27 January 2005 04:59 pm
New libmusepack, XMMS & BMP plugins (BSD license/C code) Seed General 3 23 January 2005 04:55 pm
XMMS and BMP plugins and libmusepack 1.0.2 Mr_Rabid_Teddybear MPC for UNIX 2 26 September 2004 01:04 am


All times are GMT. The time now is 01:42 am.


Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2017, vBulletin Solutions Inc.