diff options
author | Dave Chapman <dave@dchapman.com> | 2005-02-18 16:28:52 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-02-18 16:28:52 +0000 |
commit | 7b56110e5e74055d45753456034b333788823af4 (patch) | |
tree | 2f3a9626f67152b9b40a9fd9a11f157ed8025065 /apps/plugins/flac2wav.c | |
parent | 3038abc8270dde743c6b4bf068549854acd16ef6 (diff) | |
download | rockbox-7b56110e5e74055d45753456034b333788823af4.tar.gz rockbox-7b56110e5e74055d45753456034b333788823af4.zip |
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
Diffstat (limited to 'apps/plugins/flac2wav.c')
-rw-r--r-- | apps/plugins/flac2wav.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/flac2wav.c b/apps/plugins/flac2wav.c index b9207eeafe..c90cf0d633 100644 --- a/apps/plugins/flac2wav.c +++ b/apps/plugins/flac2wav.c | |||
@@ -19,8 +19,8 @@ | |||
19 | 19 | ||
20 | #include "plugin.h" | 20 | #include "plugin.h" |
21 | 21 | ||
22 | #if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR) | 22 | #if (CONFIG_HWCODEC == MASNONE) |
23 | /* software codec platforms, not for simulator */ | 23 | /* software codec platforms */ |
24 | 24 | ||
25 | #include <codecs/libFLAC/include/FLAC/seekable_stream_decoder.h> | 25 | #include <codecs/libFLAC/include/FLAC/seekable_stream_decoder.h> |
26 | 26 | ||
@@ -65,7 +65,7 @@ FLAC__StreamDecoderWriteStatus flac_write_handler(const FLAC__SeekableStreamDeco | |||
65 | if (samples*frame->header.channels > (FLAC_MAX_SUPPORTED_BLOCKSIZE*FLAC_MAX_SUPPORTED_CHANNELS)) { | 65 | if (samples*frame->header.channels > (FLAC_MAX_SUPPORTED_BLOCKSIZE*FLAC_MAX_SUPPORTED_CHANNELS)) { |
66 | // ERROR!!! | 66 | // ERROR!!! |
67 | #ifdef SIMULATOR | 67 | #ifdef SIMULATOR |
68 | fprintf(stderr,"ERROR: samples*frame->header.channels=%d\n",samples*frame->header.channels); | 68 | printf("ERROR: samples*frame->header.channels=%d\n",samples*frame->header.channels); |
69 | #endif | 69 | #endif |
70 | return(FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE); | 70 | return(FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE); |
71 | } | 71 | } |