I tried to switch to ENCODING_PCM_8BIT but am getting the exception: java.lang.IllegalArgumentException: Invalid audio buffer size
Although I pass the correct value to getMinBufferSize. Do I need to change sth else? On 4 Sty, 09:41, Serdel <adam.lichwierow...@gmail.com> wrote: > How do you predict the size of the destination array? I mean I think > you also copy the samples from audiostream into a smaller temp buffer > and then into your dest. larger one - if you use an array for the > dest. one how do you set size of that? > > On 4 Sty, 08:49, Keith Wiley <kbwi...@gmail.com> wrote: > > > In my audio app I just use System.arraycopy() to transfer samples from > > the recording buffer to a secondary buffer for real-time processing. > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en