HomeSort by relevance Sort by last modified time
    Searched defs:mAudioRecord (Results 1 - 8 of 8) 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...]
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
AudioRecordInput.java 41 private AudioRecord mAudioRecord;
56 mAudioRecord.startRecording();
63 int bytesRead = mAudioRecord.read(mBuffer, mBuffer.capacity());
78 mAudioRecord.stop();
131 if (mAudioRecord != null) {
169 mAudioRecord = new AudioRecord(AudioSource.VOICE_COMMUNICATION,
180 mAEC = AcousticEchoCanceler.create(mAudioRecord.getAudioSessionId());
204 if (mAudioRecord == null) {
233 if (mAudioRecord == null) {
242 mAudioRecord.release()
    [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...]
  /external/srec/srec_jni/
android_speech_srec_MicrophoneInputStream.cpp 61 AudioRecordWrapper(AudioRecord *audioRecord) : mAudioRecord(audioRecord) { }
63 AudioRecord* get() const { return mAudioRecord.get(); }
65 const sp<AudioRecord> mAudioRecord;
  /frameworks/av/include/media/
AudioRecord.h 479 sp<IAudioRecord> mAudioRecord;
499 DeathNotifier(AudioRecord* audioRecord) : mAudioRecord(audioRecord) { }
503 const wp<AudioRecord> mAudioRecord;
  /frameworks/base/media/java/android/media/
AudioRecord.java 744 private final AudioRecord mAudioRecord;
748 mAudioRecord = recorder;
755 listener = mAudioRecord.mPositionListener;
761 listener.onMarkerReached(mAudioRecord);
766 listener.onPeriodicNotification(mAudioRecord);
  /frameworks/wilhelm/src/
classes.h 152 android::sp<android::AudioRecord> mAudioRecord;

Completed in 1070 milliseconds