Piasy / RxAndroidAudio

Maybe the most robust Android Audio encapsulation library, with partial Rx support.
http://blog.piasy.com/2016/02/24/Robust-Android-Audio-encapsulation/
MIT License
1.57k stars 235 forks source link

Support for .wav format #63

Closed getsanjeev closed 5 years ago

getsanjeev commented 5 years ago

Looks like currently we cannot record .wav files using this, any suggestions?

Piasy commented 5 years ago

What mode do you use? stream of file? if you are using the file mode, then format is limited by the MediaRecorder itself, if you are using the stream mode, you can encode the raw PCM data to what ever format you want.