Re: [android-developers] AudioRecord on Samsung Moment

2010-01-20 Thread dan raaka
What build does this device have? There is new update for this device. Did you try on this build ? http://community.sprint.com/baw/thread/26322?featured=true -Dan On Mon, Jan 18, 2010 at 12:02 PM, Rico wrote: > When switching between the emulator (which supports 8KHz) and a real > phone like

[android-developers] AudioRecord on Samsung Moment

2010-01-18 Thread Rico
When switching between the emulator (which supports 8KHz) and a real phone like the G1 (which supports 16KHz), I used the following code to set up a valid AudioRecord object: AudioRecord ar; // Try to construct at 16KHz ar = new AudioRecord( MediaRecorder.AudioSource.MIC, 16000, AudioFormat