login svg

This commit is contained in:
Andrew Gundersen 2021-02-05 09:36:57 -06:00
commit d8805b127e
5 changed files with 64 additions and 20 deletions

View file

@ -1,7 +1,7 @@
"use strict";
import {initApp} from './background/initApp';
import {Recorder} from './background/recorder';
// const portAudio = require('naudiodon');
const portAudio = require('naudiodon');
// NOTE Program Begins Here
@ -9,13 +9,13 @@ import {Recorder} from './background/recorder';
const isDevelopment = process.env.NODE_ENV !== "production";
// const recorder = new Recorder({
// channelCount: 1,
// sampleFormat: portAudio.SampleFormat16Bit,
// sampleRate: 16000,
// deviceId: -1, // Use -1 or omit the deviceId to select the default device
// closeOnError: true
// }, 'binary');
const recorder = new Recorder({
channelCount: 1,
sampleFormat: portAudio.SampleFormat16Bit,
sampleRate: 16000,
deviceId: -1, // Use -1 or omit the deviceId to select the default device
closeOnError: true
}, 'binary');
try {
// await authenticate method