Skip to content

Commit fd0a400

Browse files
authored
js doc tweaks
Correct param type and return type. Clarify that the file is edited in place.
1 parent 999e5f6 commit fd0a400

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

text-to-speech/v1.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ TextToSpeechV1.prototype.synthesize = function(params, callback) {
7575
/**
7676
* Repair the WAV header of an audio/wav file.
7777
*
78-
* @param {Object} wavFileData
78+
* @param {Buffer} wavFileData - Wave audio - will be edited in place and returned
79+
* @return {Buffer} wavFileData - the original Buffer, with a correct header
7980
*/
8081

8182
TextToSpeechV1.prototype.repairWavHeader = function(wavFileData) {

0 commit comments

Comments
 (0)