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
I'm getting this error in firebase and I don't know how to solve it :(
Fatal Exception: java.lang.Error: Error while reading audio input stream: The end of the audio stream has not been reached and the number of bytes read (2147483647) is not equal to the expected amount of bytes(8192).
at be.tarsos.dsp.AudioDispatcher.run(:149)
at java.lang.Thread.run(Thread.java:764)
This is only happening with android 8 and 9
Remembering that this code is in a Fragment, I don't know if it makes a difference
I'm getting this error in firebase and I don't know how to solve it :(
Fatal Exception: java.lang.Error: Error while reading audio input stream: The end of the audio stream has not been reached and the number of bytes read (2147483647) is not equal to the expected amount of bytes(8192).
at be.tarsos.dsp.AudioDispatcher.run(:149)
at java.lang.Thread.run(Thread.java:764)
This is only happening with android 8 and 9
Remembering that this code is in a Fragment, I don't know if it makes a difference
My code
private Thread thread;
private AudioDispatcher;
private PitchDetectionHandler handler;
private void initHertzCapture(){
new Handler().postDelayed(new Runnable() {
@OverRide
public void run() {
dispatcher = AudioDispatcherFactory.fromDefaultMicrophone(22050,4096,0);
thread = new Thread(dispatcher,"Audio Dispatcher");
The text was updated successfully, but these errors were encountered: