summaryrefslogtreecommitdiff
path: root/apps/codecs/libpcm/pcm_common.h
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-02-24 11:30:16 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-02-24 11:30:16 +0000
commitaa58715a54cb62638b263b7942c46e25ec928534 (patch)
tree39f213b28d3f8de4460407ec358476a7beed4464 /apps/codecs/libpcm/pcm_common.h
parent31fb4f6ff65db32a23217c097d4848fd9292973b (diff)
downloadrockbox-aa58715a54cb62638b263b7942c46e25ec928534.tar.gz
rockbox-aa58715a54cb62638b263b7942c46e25ec928534.zip
libpcm: deletes PCM_CHUNK_SIZE.
aiif.c/wav.c: deletes #include <inttypes.h>. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24877 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libpcm/pcm_common.h')
-rw-r--r--apps/codecs/libpcm/pcm_common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/codecs/libpcm/pcm_common.h b/apps/codecs/libpcm/pcm_common.h
index d490a85e9f..7dcacbd19a 100644
--- a/apps/codecs/libpcm/pcm_common.h
+++ b/apps/codecs/libpcm/pcm_common.h
@@ -25,13 +25,6 @@
25#include <stdbool.h> 25#include <stdbool.h>
26#include <inttypes.h> 26#include <inttypes.h>
27 27
28/*
29 * PCM_CHUNK_SIZE has the size only of storing the sample at 1/50 seconds.
30 * But it might not be 1/50 seconds according to the format.
31 * Please confirm the source file of each format.
32 */
33#define PCM_CHUNK_SIZE (4096*2)
34
35/* Macro that sign extends an unsigned byte */ 28/* Macro that sign extends an unsigned byte */
36#define SE(x) ((int32_t)((int8_t)(x))) 29#define SE(x) ((int32_t)((int8_t)(x)))
37 30