Remove debugging
This commit is contained in:
parent
f0d5edbc37
commit
6c566cd382
1 changed files with 0 additions and 1 deletions
|
@ -39,7 +39,6 @@ export class VoiceRecorder {
|
||||||
public constructor(private client: MatrixClient) {
|
public constructor(private client: MatrixClient) {
|
||||||
this.recorder.ondataavailable = (a: ArrayBuffer) => {
|
this.recorder.ondataavailable = (a: ArrayBuffer) => {
|
||||||
// TODO: @@ TravisR: We'll have to decode each frame and convert it to an EQ to observe
|
// TODO: @@ TravisR: We'll have to decode each frame and convert it to an EQ to observe
|
||||||
console.log(a);
|
|
||||||
const buf = new Uint8Array(a);
|
const buf = new Uint8Array(a);
|
||||||
const newBuf = new Uint8Array(this.buffer.length + buf.length);
|
const newBuf = new Uint8Array(this.buffer.length + buf.length);
|
||||||
newBuf.set(this.buffer, 0);
|
newBuf.set(this.buffer, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue