diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2005-07-18 12:40:29 +0000 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2005-07-18 12:40:29 +0000 |
commit | c6ff1f5eb541f9557e7fbc1449df9c024fd59a03 (patch) | |
tree | ae38d203a3fcc15b1d897afe31c5a4f9099ac247 /apps/codecs/libFLAC/stream_decoder.c | |
parent | f5df9cd81c685b01b5e72e4a05471d97ffa7d260 (diff) | |
download | rockbox-c6ff1f5eb541f9557e7fbc1449df9c024fd59a03.tar.gz rockbox-c6ff1f5eb541f9557e7fbc1449df9c024fd59a03.zip |
Added CPU_COLDFIRE define - one step closer to iAudio-port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libFLAC/stream_decoder.c')
-rw-r--r-- | apps/codecs/libFLAC/stream_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libFLAC/stream_decoder.c b/apps/codecs/libFLAC/stream_decoder.c index 8ff9c8bbd0..cb622a9695 100644 --- a/apps/codecs/libFLAC/stream_decoder.c +++ b/apps/codecs/libFLAC/stream_decoder.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include "private/lpc.h" | 43 | #include "private/lpc.h" |
44 | #include "private/memory.h" | 44 | #include "private/memory.h" |
45 | 45 | ||
46 | #if CONFIG_CPU==MCF5249 | 46 | #ifdef CPU_COLDFIRE |
47 | #include <private/coldfire.h> | 47 | #include <private/coldfire.h> |
48 | #endif | 48 | #endif |
49 | 49 | ||
@@ -299,7 +299,7 @@ FLAC_API FLAC__StreamDecoderState FLAC__stream_decoder_init(FLAC__StreamDecoder | |||
299 | */ | 299 | */ |
300 | FLAC__cpu_info(&decoder->private_->cpuinfo); | 300 | FLAC__cpu_info(&decoder->private_->cpuinfo); |
301 | /* first default to the non-asm routines */ | 301 | /* first default to the non-asm routines */ |
302 | #if CONFIG_CPU==MCF5249 && !defined(SIMULATOR) | 302 | #ifdef CPU_COLDFIRE && !defined(SIMULATOR) |
303 | decoder->private_->local_lpc_restore_signal = FLAC__lpc_restore_signal_mcf5249; | 303 | decoder->private_->local_lpc_restore_signal = FLAC__lpc_restore_signal_mcf5249; |
304 | decoder->private_->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_mcf5249; | 304 | decoder->private_->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_mcf5249; |
305 | decoder->private_->local_lpc_restore_signal_16bit_order8 = FLAC__lpc_restore_signal_mcf5249; | 305 | decoder->private_->local_lpc_restore_signal_16bit_order8 = FLAC__lpc_restore_signal_mcf5249; |