Switch from AudioFormat.ENCODING_DEFAULT to .ENCODING_PCM_16BIT.
AudioTrack.getMinBufferSize does not handle ENCODING_DEFAULT so switch back to ENCODING_PCM_16BIT.
Showing
with
4 additions
and
4 deletions
Please
register
or
sign in
to comment
AudioTrack.getMinBufferSize does not handle ENCODING_DEFAULT so switch back to ENCODING_PCM_16BIT.