squti / Android-Wave-Recorder

A powerful and efficient library to record WAVE form audio files (WAV) in Android
MIT License
239 stars 44 forks source link

Audio Session Id #2

Closed robertlevonyan closed 4 years ago

robertlevonyan commented 4 years ago

Is it possible to get the audioSessionId from the voice recorder?

squti commented 4 years ago

It's not possible for now because audioRecorder object is a private field without any public modifier. Why do you need audioSessionId?

robertlevonyan commented 4 years ago

I need it to visualize the voice recording process.

squti commented 4 years ago

I will add this in the next feature update

robertlevonyan commented 4 years ago

Thank you!

robertlevonyan commented 4 years ago

Also I've noticed a thing. When pausing the recording, it is actually is stopping record the voice, but in audio file it is adding minutes of silence from paused state to resumed state. Any suggestions on how to not write this part to file?

squti commented 4 years ago

I will check this. Please create a different issue for your second question