Init EMAC properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7715 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
60d8db4503
commit
0b19487898
1 changed files with 4 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue