1
0
Fork 0
forked from len0rd/rockbox

Build the codec plugins in the simulator - only tested for X11

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6011 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-02-18 16:28:52 +00:00
parent 3038abc827
commit 7b56110e5e
4 changed files with 11 additions and 11 deletions

View file

@ -19,8 +19,8 @@
#include "plugin.h"
#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
/* software codec platforms, not for simulator */
#if (CONFIG_HWCODEC == MASNONE)
/* software codec platforms */
#include <codecs/libFLAC/include/FLAC/seekable_stream_decoder.h>
@ -65,7 +65,7 @@ FLAC__StreamDecoderWriteStatus flac_write_handler(const FLAC__SeekableStreamDeco
if (samples*frame->header.channels > (FLAC_MAX_SUPPORTED_BLOCKSIZE*FLAC_MAX_SUPPORTED_CHANNELS)) {
// ERROR!!!
#ifdef SIMULATOR
fprintf(stderr,"ERROR: samples*frame->header.channels=%d\n",samples*frame->header.channels);
printf("ERROR: samples*frame->header.channels=%d\n",samples*frame->header.channels);
#endif
return(FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE);
}