OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mAudioRecord
(Results
1 - 11
of
11
) sorted by null
/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
...]
/cts/tests/tests/media/src/android/media/cts/
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
...]
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;
/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/wilhelm/src/android/
AudioRecorder_to_android.cpp
64
// (ap->
mAudioRecord
is supposed to be 0 until then)
314
ar->
mAudioRecord
.clear();
400
ar->
mAudioRecord
= new android::AudioRecord();
401
ar->
mAudioRecord
->set(ar->mRecordSource, // source
417
if (android::NO_ERROR != ar->
mAudioRecord
->initCheck()) {
436
if (ar->
mAudioRecord
!= 0) {
437
ar->
mAudioRecord
->stop();
440
ar->
mAudioRecord
.~sp();
455
if (ar->
mAudioRecord
== 0) {
461
ar->
mAudioRecord
->stop()
[
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/av/media/libmedia/
AudioRecord.cpp
113
if (
mAudioRecord
!= 0) {
114
mAudioRecord
->asBinder()->unlinkToDeath(mDeathNotifier, this);
115
mAudioRecord
.clear();
171
if (
mAudioRecord
!= 0) {
298
ALOGV("
mAudioRecord
->start()");
299
status =
mAudioRecord
->start(event, triggerSession);
334
mAudioRecord
->stop();
492
if (
mAudioRecord
!= 0) {
493
mAudioRecord
->asBinder()->unlinkToDeath(mDeathNotifier, this);
497
mAudioRecord
= record
[
all
...]
/frameworks/wilhelm/src/
classes.h
152
android::sp<android::AudioRecord>
mAudioRecord
;
/frameworks/wilhelm/src/itf/
IEngine.c
455
(void) new (&thiz->
mAudioRecord
) android::sp<android::AudioRecord>();
[
all
...]
Completed in 1197 milliseconds