We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello!
Thank you for sharing your work!
I am struggling to make it work in parallel with audio recording. I get MediaRecorder IllegalState exception again and again.
I am using your visualiser this way:
private void startRecording() { mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); mRecorder.setOutputFile(mFileName); mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_WB); try { mRecorder.prepare(); } catch (IOException e) { Timber.e("prepare() failed"); } mRecorder.start(); mVisualizer.startListening(); } private void stopRecording() { mVisualizer.stopListening(); mRecorder.stop(); mRecorder.release(); mRecorder = null; }
What do I do wrong?
The text was updated successfully, but these errors were encountered:
@Gaket have you resolved the issue yet? I ran into the same issue.
Sorry, something went wrong.
@liuzhen2008, unfortunately, not. Now I am using just static image. Tell me please if you solve the problem.
No branches or pull requests
Hello!
Thank you for sharing your work!
I am struggling to make it work in parallel with audio recording. I get MediaRecorder IllegalState exception again and again.
I am using your visualiser this way:
What do I do wrong?
The text was updated successfully, but these errors were encountered: