Packed I2S for ipod Color (tested) and ipod 4G (untested, but assumed to be the same as the Color - everything else is).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15053 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fd3fe45bc1
commit
1092edf3e1
2 changed files with 3 additions and 1 deletions
|
@ -73,6 +73,7 @@ void i2s_reset(void)
|
|||
|
||||
#if defined (IRIVER_H10) || defined (IRIVER_H10_5GB) || defined(IPOD_NANO) \
|
||||
|| defined(IPOD_VIDEO) || defined(IPOD_MINI2G) \
|
||||
|| defined(IPOD_COLOR) || defined(IPOD_4G) \
|
||||
|| defined (SANSA_C200) || defined (SANSA_E200)
|
||||
/* Nano works fine with IIS_FIFO_FORMAT_LE16 as well */
|
||||
IISCONFIG = ((IISCONFIG & ~IIS_FIFO_FORMAT_MASK) | IIS_FIFO_FORMAT_LE16_2);
|
||||
|
|
|
@ -31,7 +31,8 @@
|
|||
swapping. Try to use 32-bit packed in IIS modes if possible. */
|
||||
#if defined(SANSA_C200) || defined(SANSA_E200) \
|
||||
|| defined(IRIVER_H10) || defined(IRIVER_H10_5GB) || defined(IPOD_NANO) \
|
||||
|| defined(IPOD_VIDEO) || defined(IPOD_MINI2G)
|
||||
|| defined(IPOD_VIDEO) || defined(IPOD_MINI2G) \
|
||||
|| defined(IPOD_COLOR) || defined(IPOD_4G)
|
||||
/* 16-bit, L-R packed into 32 bits with left in the least significant halfword */
|
||||
#define SAMPLE_SIZE 16
|
||||
#define TRANSFER_SIZE 32
|
||||
|
|
Loading…
Reference in a new issue