OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @fileoverview Defines a Tts interface. | 6 * @fileoverview Defines a Tts interface. |
7 * | 7 * |
8 * All TTS engines in ChromeVox conform to the this interface. | 8 * All TTS engines in ChromeVox conform to the this interface. |
9 * | 9 * |
10 */ | 10 */ |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 * Increases a TTS speech property. | 103 * Increases a TTS speech property. |
104 * @param {string} propertyName The name of the property to change. | 104 * @param {string} propertyName The name of the property to change. |
105 * @param {boolean} increase If true, increases the property value by one | 105 * @param {boolean} increase If true, increases the property value by one |
106 * step size, otherwise decreases. | 106 * step size, otherwise decreases. |
107 */ | 107 */ |
108 cvox.TtsInterface.prototype.increaseOrDecreaseProperty = | 108 cvox.TtsInterface.prototype.increaseOrDecreaseProperty = |
109 function(propertyName, increase) { }; | 109 function(propertyName, increase) { }; |
110 | 110 |
111 | 111 |
112 /** | 112 /** |
| 113 * Converts an engine property value to a percentage from 0.00 to 1.00. |
| 114 * @param {string} property The property to convert. |
| 115 * @return {?number} The percentage of the property. |
| 116 */ |
| 117 cvox.TtsInterface.prototype.propertyToPercentage = function(property) { }; |
| 118 |
| 119 |
| 120 /** |
113 * Returns the default properties of the first tts that has default properties. | 121 * Returns the default properties of the first tts that has default properties. |
114 * @param {string} property Name of property. | 122 * @param {string} property Name of property. |
115 * @return {?number} The default value. | 123 * @return {?number} The default value. |
116 */ | 124 */ |
117 cvox.TtsInterface.prototype.getDefaultProperty = function(property) { }; | 125 cvox.TtsInterface.prototype.getDefaultProperty = function(property) { }; |
OLD | NEW |