summaryrefslogtreecommitdiff
path: root/firmware/target/arm/pcm-pp.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-10-08 21:20:06 +0000
committerThom Johansen <thomj@rockbox.org>2007-10-08 21:20:06 +0000
commiteb1e35f6af617b61a033fd6a43c2cb545d44c8e8 (patch)
tree27878c2f7e2da553bf71510fa8ca86eae6a81820 /firmware/target/arm/pcm-pp.c
parentf35d2e38fe5911b2bc5a079857202693e7d3ccb4 (diff)
downloadrockbox-eb1e35f6af617b61a033fd6a43c2cb545d44c8e8.tar.gz
rockbox-eb1e35f6af617b61a033fd6a43c2cb545d44c8e8.zip
Make Ipod Nano use packed 16 bit IIS FIFO transfers as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15040 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/pcm-pp.c')
-rw-r--r--firmware/target/arm/pcm-pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c
index ba2b6e5ada..ab785a933b 100644
--- a/firmware/target/arm/pcm-pp.c
+++ b/firmware/target/arm/pcm-pp.c
@@ -30,7 +30,7 @@
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) 33 || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) || defined(IPOD_NANO)
34/* 16-bit, L-R packed into 32 bits with left in the least significant halfword */ 34/* 16-bit, L-R packed into 32 bits with left in the least significant halfword */
35#define SAMPLE_SIZE 16 35#define SAMPLE_SIZE 16
36#define TRANSFER_SIZE 32 36#define TRANSFER_SIZE 32