You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to use the openStream api like the following
constst=rtAudio.openStream(undefined,{deviceId: inputName||rtAudio.getDefaultInputDevice(),// Input device id (Get all devices using `getDevices`)nChannels: 1,// Number of channelsfirstChannel: 0,// First channel index on device (default = 0).},RtAudioFormat.RTAUDIO_SINT16,// PCM Format - Signed 16-bit integer48000,// Sampling rate is 48kHz1920,// Frame size is 1920 (40ms)"MyStream",// The name of the stream (used for JACK Api)(pcm)=>{//logic to detect if the person is with voice active},()=>{});rtAudio.start();
It works as expected, and I can get the data that I need from the inputCallback without issues.
The thing is, when i execute rtAudio.start() every other application stop detecting the audio input from the computer until until I restart that application.
It's any workaround for this? Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to use the openStream api like the following
It works as expected, and I can get the data that I need from the inputCallback without issues.
The thing is, when i execute
rtAudio.start()
every other application stop detecting the audio input from the computer until until I restart that application.It's any workaround for this? Am I doing something wrong?
The text was updated successfully, but these errors were encountered: