summaryrefslogtreecommitdiffstats
path: root/pico/lib/picodefs.h
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2009-08-17 14:20:48 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2009-08-17 14:20:48 -0700
commit7bc39b0d41efe0d8733490d54e14bc392d9f0b6d (patch)
treedb46c91063b1d9ca27c4618c9262a1fd09014c94 /pico/lib/picodefs.h
parenta2301be089f8ed570c5bb755ff7c82b130959851 (diff)
downloadexternal_svox-7bc39b0d41efe0d8733490d54e14bc392d9f0b6d.zip
external_svox-7bc39b0d41efe0d8733490d54e14bc392d9f0b6d.tar.gz
external_svox-7bc39b0d41efe0d8733490d54e14bc392d9f0b6d.tar.bz2
Integrate SVOX update that offers two modes to reset the engine: soft
and full. Soft reset is lighter-weight than the previous pico_resetEngine() function as it only clears the input (text) and output (audio data) buffers of the synthesis engine. The synthesis loop is now taking advantage of the soft reset whenever it is interrupted, rather than performing a full engine reset after each call to stop().
Diffstat (limited to 'pico/lib/picodefs.h')
-rw-r--r--pico/lib/picodefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pico/lib/picodefs.h b/pico/lib/picodefs.h
index 6613e84..8c24039 100644
--- a/pico/lib/picodefs.h
+++ b/pico/lib/picodefs.h
@@ -156,6 +156,11 @@ typedef signed int pico_Status;
#define PICO_STEP_ERROR (pico_Status) -200
+/* Engine reset modes ***********************************************************/
+
+/* general */
+#define PICO_RESET_FULL (pico_Status) 0
+#define PICO_RESET_SOFT (pico_Status) 0x10
/* ********************************************************************/