You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2016/04/04 22:34:10 UTC
[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.
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 <mj...@apache.org>
Authored: Sun Apr 3 14:47:33 2016 -0700
Committer: Michael Jumper <mj...@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