forked from len0rd/rockbox
Musepack files should play (poorly) now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6776 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
af53cef8ac
commit
cdcd651e7d
1 changed files with 5 additions and 5 deletions
|
@ -41,10 +41,9 @@ seek_impl(void *data, mpc_int32_t offset)
|
||||||
{
|
{
|
||||||
struct codec_api* ci = (struct codec_api*)data;
|
struct codec_api* ci = (struct codec_api*)data;
|
||||||
|
|
||||||
/* We don't support seeking yet. */
|
/* WARNING: assumes we don't need to skip too far into the past,
|
||||||
(void)ci;
|
this might not be supported by the buffering layer yet */
|
||||||
(void)offset;
|
return ci->seek_buffer(offset);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mpc_int32_t
|
mpc_int32_t
|
||||||
|
@ -82,7 +81,8 @@ shift_signed(MPC_SAMPLE_FORMAT val, int shift)
|
||||||
#define OUTPUT_BUFFER_SIZE 65536 /* Must be an integer multiple of 4. */
|
#define OUTPUT_BUFFER_SIZE 65536 /* Must be an integer multiple of 4. */
|
||||||
|
|
||||||
unsigned char OutputBuffer[OUTPUT_BUFFER_SIZE];
|
unsigned char OutputBuffer[OUTPUT_BUFFER_SIZE];
|
||||||
MPC_SAMPLE_FORMAT sample_buffer[MPC_DECODER_BUFFER_LENGTH];
|
/* temporary, we probably have better use for iram than this */
|
||||||
|
MPC_SAMPLE_FORMAT sample_buffer[MPC_DECODER_BUFFER_LENGTH] IDATA_ATTR;
|
||||||
unsigned char *OutputPtr=OutputBuffer;
|
unsigned char *OutputPtr=OutputBuffer;
|
||||||
const unsigned char *OutputBufferEnd=OutputBuffer+OUTPUT_BUFFER_SIZE;
|
const unsigned char *OutputBufferEnd=OutputBuffer+OUTPUT_BUFFER_SIZE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue