diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-09-26 17:44:43 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-09-26 17:44:43 +0000 |
commit | 287deb0e74855349baebe30162303b08ff4bbf5e (patch) | |
tree | 5f0f0b82aefa00c0e65ade8811d498b125ad2886 /apps/talk.h | |
parent | 183499a2d43ebcec9a522bbcbde506f0b3c5e01d (diff) | |
download | rockbox-287deb0e74855349baebe30162303b08ff4bbf5e.tar.gz rockbox-287deb0e74855349baebe30162303b08ff4bbf5e.zip |
Fixed voice units in recording quality and filesplit by size options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11063 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.h')
-rw-r--r-- | apps/talk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/talk.h b/apps/talk.h index 2f2099a8c4..bfd08354aa 100644 --- a/apps/talk.h +++ b/apps/talk.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <stdbool.h> | 27 | #include <stdbool.h> |
28 | 28 | ||
29 | enum { | 29 | enum { |
30 | /* See array "unit_voiced" in talk.c function "talk_value" */ | ||
30 | UNIT_INT = 1, /* plain number */ | 31 | UNIT_INT = 1, /* plain number */ |
31 | UNIT_SIGNED, /* number with mandatory sign (even if positive) */ | 32 | UNIT_SIGNED, /* number with mandatory sign (even if positive) */ |
32 | UNIT_MS, /* milliseconds */ | 33 | UNIT_MS, /* milliseconds */ |
@@ -45,7 +46,7 @@ enum { | |||
45 | UNIT_LAST /* END MARKER */ | 46 | UNIT_LAST /* END MARKER */ |
46 | }; | 47 | }; |
47 | 48 | ||
48 | #define UNIT_SHIFT (32-4) /* this many bits left from UNIT_xx enum */ | 49 | #define UNIT_SHIFT (32-5) /* this many bits left from UNIT_xx enum */ |
49 | 50 | ||
50 | /* make a "talkable" ID from number + unit | 51 | /* make a "talkable" ID from number + unit |
51 | unit is upper 4 bits, number the remaining (in regular 2's complement) */ | 52 | unit is upper 4 bits, number the remaining (in regular 2's complement) */ |