I am trying to save in a file the audio data listened by speech recognition service of android.
Actually I implement RecognitionListener as explained he
RecognitionListener
8000, little endian, 16 bit PCM, mono channel did the trick