setAudioFormat

Call this to change the audio format. The argument should be one of the values from android.media.AudioFormat ENCODING_PCM_8BIT, ENCODING_PCM_16BIT or ENCODING_PCM_FLOAT. Default audio data format is PCM 16 bit per sample. Guaranteed to be supported by all devices.