forked from len0rd/rockbox
iAudio X5: various fixes to make the bootloader compile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
44a5c827b7
commit
760fea9ac7
9 changed files with 31 additions and 7 deletions
|
|
@ -530,6 +530,9 @@ void pcm_calculate_peaks(int *left, int *right)
|
|||
#elif defined(HAVE_WM8975)
|
||||
long samples = size / 4;
|
||||
short *addr = p;
|
||||
#elif defined(HAVE_TLV320)
|
||||
long samples = 4; /* TODO X5 */
|
||||
short *addr = NULL;
|
||||
#endif
|
||||
|
||||
if (samples > PEAK_SAMPLES)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue