Skip to content

Commit e537859

Browse files
committed
Bumped version number to 0.4 and updated doc
1 parent f5c8e5c commit e537859

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

Diff for: JSonic.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dojo.provide('uow.audio.JSonic');
99
dojo.require('dijit._Widget');
1010

1111
// client api version
12-
uow.audio._jsonicVersion = '0.3';
12+
uow.audio._jsonicVersion = '0.4';
1313
// singleton instance
1414
uow.audio._jsonicInstance = null;
1515

Diff for: doc/changelog.rst

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Version 0.4
55
-----------
66

77
* Migrated to uow.audio namespace.
8+
* Added the :meth:`uow.audio.JSonic.resetAll` method.
9+
* Made the :attr:`uow.audio.JSonic.defaultCaching` attribute settable.
810

911
Version 0.3
1012
-----------

Diff for: doc/js.rst

+11-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ The JSonic interface
4141

4242
.. attribute:: defaultCaching
4343

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
4547

4648
.. attribute:: jsonicURI
4749

@@ -144,6 +146,14 @@ The JSonic interface
144146
:type args: object
145147
:rtype: :class:`JSonicDeferred`
146148

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+
147157
.. method:: say(args)
148158

149159
Speaks an utterance.

Diff for: server/jsonic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import functools
2626

2727
# current server api version
28-
VERSION = '0.3'
28+
VERSION = '0.4'
2929
# path containing synthed and encoded speech files
3030
CACHE_PATH = os.path.join(os.path.dirname(__file__), 'files')
3131
try:

0 commit comments

Comments
 (0)