From 0b19487898b779b60de8f07ff1a52ef515b8d072 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Tue, 1 Nov 2005 23:27:41 +0000 Subject: Init EMAC properly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7715 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libfaad/decoder.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/codecs/libfaad/decoder.c') diff --git a/apps/codecs/libfaad/decoder.c b/apps/codecs/libfaad/decoder.c index 1c8fbd9..a86b6dd 100644 --- a/apps/codecs/libfaad/decoder.c +++ b/apps/codecs/libfaad/decoder.c @@ -318,6 +318,10 @@ int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer, hDecoder->adif_header_present = 0; hDecoder->adts_header_present = 0; + #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) + coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE); + #endif + /* decode the audio specific config */ rc = AudioSpecificConfig2(pBuffer, SizeOfDecoderSpecificInfo, &mp4ASC, &(hDecoder->pce)); -- cgit v1.1