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 <[email protected]> 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 <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

