diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-10-09 19:24:18 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-10-09 19:24:18 +0000 |
commit | 8500f485b6610b12398da1672e9a9a0ed745b53a (patch) | |
tree | 4471e6dc2c937ca75f8b7dfce4da7af1aeb9bc8f /firmware/target/arm/pcm-pp.c | |
parent | 9ff40579c383972ab4274013338e2d211084c10d (diff) | |
download | rockbox-8500f485b6610b12398da1672e9a9a0ed745b53a.tar.gz rockbox-8500f485b6610b12398da1672e9a9a0ed745b53a.zip |
FS #7917 by Andree Buschmann. Packed I2S also for Ipod Video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15049 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/pcm-pp.c')
-rw-r--r-- | firmware/target/arm/pcm-pp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c index e246ce0066..21d7f74b0c 100644 --- a/firmware/target/arm/pcm-pp.c +++ b/firmware/target/arm/pcm-pp.c | |||
@@ -30,7 +30,8 @@ | |||
30 | and codec setup using "arithmetic" the hardware supports like halfword | 30 | and codec setup using "arithmetic" the hardware supports like halfword |
31 | swapping. Try to use 32-bit packed in IIS modes if possible. */ | 31 | swapping. Try to use 32-bit packed in IIS modes if possible. */ |
32 | #if defined(SANSA_C200) || defined(SANSA_E200) \ | 32 | #if defined(SANSA_C200) || defined(SANSA_E200) \ |
33 | || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) || defined(IPOD_NANO) | 33 | || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) || defined(IPOD_NANO) \ |
34 | || defined(IPOD_VIDEO) | ||
34 | /* 16-bit, L-R packed into 32 bits with left in the least significant halfword */ | 35 | /* 16-bit, L-R packed into 32 bits with left in the least significant halfword */ |
35 | #define SAMPLE_SIZE 16 | 36 | #define SAMPLE_SIZE 16 |
36 | #define TRANSFER_SIZE 32 | 37 | #define TRANSFER_SIZE 32 |