![]() |
![]() |
#1 |
Member
Join Date: Dec 2004
Posts: 5
|
![]()
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); 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 ![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preferred mppdec version? | crazee_canuck | MPC for UNIX | 3 | 01 May 2005 06: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 12:04 am |