guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmuehl...@apache.org
Subject [2/7] incubator-guacamole-client git commit: GUAC-1511: Provide ArrayBufferWriter with ArrayBuffer. Providing 16-bit TypedArray results in truncation of each sample to the low 8 bits.
Date Mon, 04 Apr 2016 20:34:10 GMT
GUAC-1511: Provide ArrayBufferWriter with ArrayBuffer. Providing 16-bit TypedArray results
in truncation of each sample to the low 8 bits.

Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/65e61027
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/65e61027
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/65e61027

Branch: refs/heads/master
Commit: 65e610275bc95fe5f7a83483631a8bba9189072a
Parents: 99c3f26
Author: Michael Jumper <mjumper@apache.org>
Authored: Sun Apr 3 14:47:33 2016 -0700
Committer: Michael Jumper <mjumper@apache.org>
Committed: Sun Apr 3 14:47:33 2016 -0700

----------------------------------------------------------------------
 guacamole-common-js/src/main/webapp/modules/AudioRecorder.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/65e61027/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js b/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js
index dff35d7..ac7580a 100644
--- a/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js
+++ b/guacamole-common-js/src/main/webapp/modules/AudioRecorder.js
@@ -237,7 +237,7 @@ Guacamole.RawAudioRecorder = function RawAudioRecorder(stream, mimetype)
{
 
             // Send blobs when audio buffers are received
             processor.onaudioprocess = function processAudio(e) {
-                writer.sendData(toSampleArray(e.inputBuffer));
+                writer.sendData(toSampleArray(e.inputBuffer).buffer);
             };
 
             // Connect processing node to user's audio input source


Mime
View raw message