summaryrefslogtreecommitdiff
path: root/firmware/export/enc_base.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-09-30 15:55:34 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-09-30 15:55:34 +0000
commit5be5674b066b63ac8994db86f34c83c2c7f956ed (patch)
tree4e21895a290c19757c70de842dbb1aec74c8e105 /firmware/export/enc_base.h
parent41541c5c31c5cd4f1a6dbbd7354046cfd5cfa13f (diff)
downloadrockbox-5be5674b066b63ac8994db86f34c83c2c7f956ed.zip
rockbox-5be5674b066b63ac8994db86f34c83c2c7f956ed.tar.gz
rockbox-5be5674b066b63ac8994db86f34c83c2c7f956ed.tar.bz2
rockbox-5be5674b066b63ac8994db86f34c83c2c7f956ed.tar.xz
Remove the PCMREC_PARANOID support since the issues have been identified and fixed however detecting an encoder writing too many samples to a chunk will remain and be enabled in a DEBUG build as an aid for adding encoders. Do some cleanup on the filename queue. Loosen up the control interface where synchronous thread blocking isn't required for pause/stop/resume.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14918 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/enc_base.h')
-rw-r--r--firmware/export/enc_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/enc_base.h b/firmware/export/enc_base.h
index a9eff52..c7c30d6 100644
--- a/firmware/export/enc_base.h
+++ b/firmware/export/enc_base.h
@@ -157,12 +157,12 @@ struct encoder_config
#define CHUNKF_ALLFLAGS (0x0033ul | CHUNKF_ERROR)
/* Header at the beginning of every encoder chunk */
-#ifdef PCMREC_PARANOID
+#ifdef DEBUG
#define ENC_CHUNK_MAGIC H_TO_BE32(('P' << 24) | ('T' << 16) | ('Y' << 8) | 'R')
#endif
struct enc_chunk_hdr
{
-#ifdef PCMREC_PARANOID
+#ifdef DEBUG
unsigned long id; /* overflow detection - 'PTYR' - acronym for
"PTYR Tells You Right" ;) */
#endif