I am developing a VoIP product however I have a requirement for a fast codec converter which takes audio in byte and provides direct decoding / encoding of audio from the AudioPlayer and out from the AudioRecord into mulaw.
The process can be completed using the MediaCodec from g711 mulaw->PCM using the decoder, however there is no method to carry this out in reverse.
I would require full source and a simple class exposing 2 simple methods;
byte frommUlaw(byte data)
byte tomUlaw(byte data)
which i can incorporate into my application. Further codecs will be required upon successful completion of this project.