Make sure you are sizing the buffers correctly i.e. respecting the minimum 
recording buffer size (in bytes) required. If you don't then I believe the 
system will drop you down to 8kHz sample rate, which is what you are seeing 
(I think?).


On Wednesday, December 23, 2015 at 9:52:37 AM UTC-8, 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 [email protected].
To post to this group, send email to [email protected].
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/b1513818-8928-4d64-b106-99d75a76ea69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to