HomeSort by relevance Sort by last modified time
    Searched defs:mAudioRecord (Results 1 - 6 of 6) sorted by null

  /cts/tests/tests/media/src/android/media/cts/
AudioRecord_BufferSizeTest.java 43 private AudioRecord mAudioRecord;
70 mAudioRecord.startRecording();
73 assertTrue(mAudioRecord.read(buffer, 0, bufferSize) > 0);
75 mAudioRecord.stop();
78 mAudioRecord.release();
82 mAudioRecord = new AudioRecord(AudioSource.DEFAULT, sampleRateInHz,
84 assertNotNull(mAudioRecord);
91 return mAudioRecord.getRecordingState() == state;
AudioRecordTest.java 33 private AudioRecord mAudioRecord;
62 mAudioRecord = new AudioRecord(MediaRecorder.AudioSource.DEFAULT, mHz,
77 assertNotNull(mAudioRecord);
83 mAudioRecord.release();
99 assertEquals(AudioFormat.ENCODING_PCM_16BIT, mAudioRecord.getAudioFormat());
100 assertEquals(MediaRecorder.AudioSource.DEFAULT, mAudioRecord.getAudioSource());
101 assertEquals(1, mAudioRecord.getChannelCount());
103 mAudioRecord.getChannelConfiguration());
104 assertEquals(AudioRecord.STATE_INITIALIZED, mAudioRecord.getState());
105 assertEquals(mHz, mAudioRecord.getSampleRate())
    [all...]
  /frameworks/base/core/java/android/speech/srec/
MicrophoneInputStream.java 37 private int mAudioRecord = 0;
47 mAudioRecord = AudioRecordNew(sampleRate, fifoDepth);
48 if (mAudioRecord == 0) throw new IOException("AudioRecord constructor failed - busy?");
49 int status = AudioRecordStart(mAudioRecord);
58 if (mAudioRecord == 0) throw new IllegalStateException("not open");
59 int rtn = AudioRecordRead(mAudioRecord, mOneByte, 0, 1);
65 if (mAudioRecord == 0) throw new IllegalStateException("not open");
66 return AudioRecordRead(mAudioRecord, b, 0, b.length);
71 if (mAudioRecord == 0) throw new IllegalStateException("not open");
73 return AudioRecordRead(mAudioRecord, b, offset, length)
    [all...]
  /frameworks/av/include/media/
AudioRecord.h 391 sp<IAudioRecord> mAudioRecord;
  /frameworks/base/media/java/android/media/
AudioRecord.java 746 private final AudioRecord mAudioRecord;
750 mAudioRecord = recorder;
757 listener = mAudioRecord.mPositionListener;
763 listener.onMarkerReached(mAudioRecord);
768 listener.onPeriodicNotification(mAudioRecord);
  /frameworks/wilhelm/src/
classes.h 151 android::AudioRecord *mAudioRecord; //FIXME candidate to be encapsulated in a ARecorder subclass

Completed in 2252 milliseconds