File tree 4 files changed +15
-3
lines changed
4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ dojo.provide('uow.audio.JSonic');
9
9
dojo . require ( 'dijit._Widget' ) ;
10
10
11
11
// client api version
12
- uow . audio . _jsonicVersion = '0.3 ' ;
12
+ uow . audio . _jsonicVersion = '0.4 ' ;
13
13
// singleton instance
14
14
uow . audio . _jsonicInstance = null ;
15
15
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ Version 0.4
5
5
-----------
6
6
7
7
* Migrated to uow.audio namespace.
8
+ * Added the :meth: `uow.audio.JSonic.resetAll ` method.
9
+ * Made the :attr: `uow.audio.JSonic.defaultCaching ` attribute settable.
8
10
9
11
Version 0.3
10
12
-----------
Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ The JSonic interface
41
41
42
42
.. attribute :: defaultCaching
43
43
44
- Read-only. True if caching is enabled by default for all to :meth: `say ` and :meth: `play ` calls. False if caching is disabled by default.
44
+ True if caching is enabled by default for all to :meth: `say ` and :meth: `play ` calls. False if caching is disabled by default.
45
+
46
+ .. versionchanged :: 0.4
45
47
46
48
.. attribute :: jsonicURI
47
49
@@ -144,6 +146,14 @@ The JSonic interface
144
146
:type args: object
145
147
:rtype: :class: `JSonicDeferred `
146
148
149
+ .. method :: resetAll()
150
+
151
+ Resets all channel :ref: `audio properties <property >` of all channels to their defaults.
152
+
153
+ :rtype: array of :class: `JSonicDeferred `
154
+
155
+ .. versionadded :: 0.4
156
+
147
157
.. method :: say(args)
148
158
149
159
Speaks an utterance.
Original file line number Diff line number Diff line change 25
25
import functools
26
26
27
27
# current server api version
28
- VERSION = '0.3 '
28
+ VERSION = '0.4 '
29
29
# path containing synthed and encoded speech files
30
30
CACHE_PATH = os .path .join (os .path .dirname (__file__ ), 'files' )
31
31
try :
You can’t perform that action at this time.
0 commit comments