Skip to content

Commit

Permalink
Merge pull request #114 from ccapndave/array-buffer-fix
Browse files Browse the repository at this point in the history
Fixes #112
  • Loading branch information
muaz-khan committed Mar 27, 2016
2 parents 7989496 + 516f5ea commit 85613d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions RecordRTC.js
@@ -1,6 +1,6 @@
'use strict';

// Last time updated: 2016-03-17 12:41:43 PM UTC
// Last time updated: 2016-03-25 12:41:43 PM UTC

// Open-Sourced: https://github.com/muaz-khan/RecordRTC

Expand Down Expand Up @@ -2049,7 +2049,7 @@ function StereoAudioRecorder(mediaStream, config) {
* var buffer = recorder.buffer;
* });
*/
self.buffer = new ArrayBuffer(view);
self.buffer = new ArrayBuffer(view.buffer.byteLength);

/**
* @property {DataView} view - The recorded data-view object.
Expand Down

0 comments on commit 85613d0

Please sign in to comment.