Skip to content

Issue when using MicrophoneInput with onResume() and onPause() #1

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. When AudioRecord loops at run(), we have to release recorder too at 
MicrophoneInput class(recorder.release()).

What is the expected output? What do you see instead?
I used MicrophoneInput class to my app, which must dynamically turn on or off 
microphone due to power consumption. I configured at onPause() to stop 
recording, and at onResume() to restart recording.
Yet result was not good, decibel meter went to minus(for example : -39dB).

What version of the product are you using? On what operating system?
I have used the source what is here and I'm using Android 4.1.2 JZO54K.

Please provide any additional information below.
I couldn't know why recorder must be released and restarted. But this is just 
one solution for bug :-(.

Original issue reported on code.google.com by charlie....@gmail.com on 3 Mar 2013 at 3:46

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions