HomeSort by relevance Sort by last modified time
    Searched refs:audioRecord (Results 1 - 3 of 3) sorted by null

  /external/srec/srec_jni/
android_speech_srec_MicrophoneInputStream.cpp 28 #include <media/AudioRecord.h>
59 android::AudioRecord* ar = new android::AudioRecord(
64 LOGE("Error creating AudioRecord");
78 (JNIEnv *env, jclass clazz, jint audioRecord) {
79 return (int)(((AudioRecord*)audioRecord)->start());
83 (JNIEnv *env, jclass clazz, jint audioRecord, jbyteArray array, jint offset, jint length) {
86 length = ((AudioRecord*)audioRecord)->read(buffer, length)
    [all...]
  /frameworks/base/core/java/android/speech/srec/
MicrophoneInputStream.java 48 if (mAudioRecord == 0) throw new IOException("AudioRecord constructor failed - busy?");
52 throw new IOException("AudioRecord start failed: " + status);
103 // AudioRecord JNI interface
106 private static native int AudioRecordStart(int audioRecord);
107 private static native int AudioRecordRead(int audioRecord, byte[] b, int offset, int length) throws IOException;
108 private static native void AudioRecordStop(int audioRecord) throws IOException;
109 private static native void AudioRecordDelete(int audioRecord) throws IOException;
  /frameworks/base/media/libmedia/
AudioRecord.cpp 19 #define LOG_TAG "AudioRecord"
30 #include <media/AudioRecord.h>
50 status_t AudioRecord::getMinFrameCount(
82 AudioRecord::AudioRecord()
87 AudioRecord::AudioRecord(
104 AudioRecord::~AudioRecord()
121 status_t AudioRecord::set
    [all...]

Completed in 114 milliseconds