Home | History | Annotate | Download | only in srec

Lines Matching refs:mAudioRecord

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);
81 if (mAudioRecord != 0) {
83 AudioRecordStop(mAudioRecord);
86 AudioRecordDelete(mAudioRecord);
88 mAudioRecord = 0;
96 if (mAudioRecord != 0) {