Re: [android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-08 Thread dan raaka
Try the "soundcheck" app on the android market to check the valid frequencies supported on the device. -Dan On Tue, Sep 7, 2010 at 10:52 PM, Krishna Mohan wrote: > Hi, >Android's AudioFlinger does the job of downsampling to 8khz irrespective > of whatever be the top level applications sampl

Re: [android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-07 Thread Krishna Mohan
Hi, Android's AudioFlinger does the job of downsampling to 8khz irrespective of whatever be the top level applications sampling rate setting. AudioFlinger will down sample to 8khz and record. You may try another method of recording using arecord utility of alsa. #alsa_arecord -f 16000 -c 2 -Dhw

Re: [android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-06 Thread dan raaka
what is the build fingerprint on your device ? $ adb shell getprop | grep finger -Dan On Wed, Sep 1, 2010 at 12:44 PM, Steve Hugg wrote: > Our app has a problem with AudioRecord where the recorded audio is > very slw (sound like it's 2x slower). We use > AudioRecord.getMinBufferSize to try

[android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-03 Thread Steve Hugg
Our app has a problem with AudioRecord where the recorded audio is very slw (sound like it's 2x slower). We use AudioRecord.getMinBufferSize to try 16000 Hz first and then back down to 8000 Hz if that function returns an error. So my guess is that the audio is reported as 8000 Hz even though it

[android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-01 Thread Steve Hugg
Our app has a problem with AudioRecord where the recorded audio is very slw (sound like it's 2x slower). We use AudioRecord.getMinBufferSize to try 16000 Hz first and then back down to 8000 Hz if that function returns an error. So my guess is that the audio is reported as 8000 Hz even though it