diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2009-08-17 14:20:48 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2009-08-17 14:20:48 -0700 |
commit | 7bc39b0d41efe0d8733490d54e14bc392d9f0b6d (patch) | |
tree | db46c91063b1d9ca27c4618c9262a1fd09014c94 /pico/lib/picodefs.h | |
parent | a2301be089f8ed570c5bb755ff7c82b130959851 (diff) | |
download | external_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.h | 5 |
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 /* ********************************************************************/ |