feature/implement-bot-into-client-core #2

Merged
logan merged 42 commits from feature/implement-bot-into-client-core into master 2023-05-06 14:45:00 -04:00
Showing only changes of commit 2a3893b0e7 - Show all commits

View File

@@ -52,7 +52,7 @@ async function createAudioInstance() {
channels: 2, channels: 2,
format: "S16_BE", format: "S16_BE",
rate: 48000, rate: 48000,
device: selectedDevice.name ?? "default", // Use -1 or omit the deviceId to select the default device device: selectedDevice.name ?? "default", // Omit the deviceId to select the default device
periodSize: 100, //(48000 / 1000) * 20, //(48000 * 16 * 2) / 1000 * 20 // (48000 * (16 / 8) * 2) / 60 / 1000 * 20 //0.025 * 48000 / 2 periodSize: 100, //(48000 / 1000) * 20, //(48000 * 16 * 2) / 1000 * 20 // (48000 * (16 / 8) * 2) / 60 / 1000 * 20 //0.025 * 48000 / 2
periodTime: undefined, periodTime: undefined,
// highwaterMark: 3840 // highwaterMark: 3840