forked from len0rd/rockbox
Removed a ton of tabs, fixed some indentation and removed some unneeded includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7606 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6dfe98e196
commit
1290e05641
1 changed files with 52 additions and 54 deletions
|
@ -18,9 +18,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "codec.h"
|
||||
#include "playback.h"
|
||||
#include "lib/codeclib.h"
|
||||
#include "dsp.h"
|
||||
#include "inttypes.h"
|
||||
|
||||
/* This codec support WAVE files with the following formats:
|
||||
|
@ -91,7 +89,7 @@ enum
|
|||
/* for 44.1kHz stereo 16bits, this represents 0.023s ~= 1/50s */
|
||||
#define WAV_CHUNK_SIZE (1024*2)
|
||||
|
||||
#ifndef SIMULATOR
|
||||
#ifdef USE_IRAM
|
||||
extern char iramcopy[];
|
||||
extern char iramstart[];
|
||||
extern char iramend[];
|
||||
|
@ -231,7 +229,7 @@ enum codec_status codec_start(struct codec_api* api)
|
|||
/* Generic codec initialisation */
|
||||
TEST_CODEC_API(api);
|
||||
|
||||
#ifndef SIMULATOR
|
||||
#ifdef USE_IRAM
|
||||
rb->memcpy(iramstart, iramcopy, iramend-iramstart);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue