you can try this code:
private static final int AUDIO_SAMPLE_FREQ = 8000;
private static final int AUDIO_BUFFER_SIZE = 20;
private AudioRecord recorder;
try
{
// init recorder
recorder = new AudioRecord(MediaRecorder.AudioSource.MIC,
, Steven_T gwb...@126.com wrote:
hi Dave Sparks:
I have changed 50 frames to 400 frmaes, it doesn't work.
then I set bufferSizeInBytes to 100 to init AudioRecord object,
and set update period to 400,
it dosn't work too. I had used logcat to watch emulator'log, didn't
find
, Steven_T gwb...@126.com wrote:
hi Dave Sparks:
I have changed 50 frames to 400 frmaes, it doesn't work.
then I set bufferSizeInBytes to 100 to init AudioRecord object,
and set update period to 400,
it dosn't work too. I had used logcat to watch emulator'log, didn't
find
hello everyone,
I would like to use the new AudioRecord class to record in PCM format.
Create class and setRecordPositionUpdateListener to it, then start
recording, I can't get any notification from system forever,why?(I
didn't get any error when running)
please help me, thanks.
the next is my
hi all
I want use AudioRecord class to record audio in PCM formate.
after create class and set setRecordPositionUpdateListener, then start
recording.
I can't get any notification from system.
why? please help me, thanks
public class Recorder {
private static final int AUDIO_SAMPLE_FREQ =
frames) and see if that works.
On Apr 23, 1:56 am, Steven_T gwb...@126.com wrote:
hello everyone,
I would like to use the new AudioRecord class to record in PCM format.
Create class and setRecordPositionUpdateListener to it, then start
recording, I can't get any notification from system
6 matches
Mail list logo