Not even 44,100 works correctly on the LG-G3. I got one of my customers to try an experimental version of my app on their LG-G3. This experimental version used 44,100 samples per second right from the beginning. It turns out that on the LG-G3 this customer has, the audio is first sampled at only 8000 samples per second, and the up-sampled to create 44,100 samples per second, which does not contain all the frequency content it would have had if it were sampled at 44,100 to being with. I see no way around it.
On Wednesday, December 23, 2015 at 11:52:37 AM UTC-6, Robert Scott wrote: > > I first call *AudioRecord.getMinBufferSize(22050...* If this returns an > error (<1) then I call *AudioRecord.getMinBufferSize(44100...* Whichever > one of these calls succeeds, I use that rate in my call to "*new > AudioRecord(..,sampleRate..)*" > > I don't actually have one of these misbehaving devices, so my experiments > so far have been with the help of my customers. > > -Robert Scott > Hopkins, MN > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/1f4c4b7a-8490-4151-963c-c2ed43837755%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.