Skip to content

Commit b4b835d

Browse files
author
travis-ci
committed
building dist/ scripts for release
1 parent b1ba071 commit b4b835d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/watson-speech.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7829,7 +7829,7 @@ WebAudioL16Stream.prototype.floatTo16BitPCM = function(input) {
78297829
var multiplier = input[i] < 0 ? 0x8000 : 0x7fff; // 16-bit signed range is -32768 to 32767
78307830
output.setInt16(i * 2, input[i] * multiplier | 0, true); // index, value, little edian
78317831
}
7832-
return new Buffer(output.buffer);
7832+
return Buffer.from(output.buffer);
78337833
};
78347834

78357835
/**

0 commit comments

Comments
 (0)