Home
last modified time | relevance | path

Searched refs:AudioRecord (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/media/libmedia/
DAudioRecord.cpp36 status_t AudioRecord::getMinFrameCount( in getMinFrameCount()
68 AudioRecord::AudioRecord(const String16 &opPackageName) in AudioRecord() function in android::AudioRecord
75 AudioRecord::AudioRecord( in AudioRecord() function in android::AudioRecord
105 AudioRecord::~AudioRecord() in ~AudioRecord()
133 status_t AudioRecord::set( in set()
291 status_t AudioRecord::start(AudioSystem::sync_event_t event, audio_session_t triggerSession) in start()
349 void AudioRecord::stop() in stop()
372 bool AudioRecord::stopped() const in stopped()
378 status_t AudioRecord::setMarkerPosition(uint32_t marker) in setMarkerPosition()
396 status_t AudioRecord::getMarkerPosition(uint32_t *marker) const in getMarkerPosition()
[all …]
DIAudioRecord.cpp69 IMPLEMENT_META_INTERFACE(AudioRecord, "android.media.IAudioRecord");
DAndroid.mk29 AudioRecord.cpp \
/frameworks/av/include/media/
DAudioRecord.h36 class AudioRecord : public RefBase
139 AudioRecord(const String16& opPackageName);
171 AudioRecord(audio_source_t inputSource,
191 virtual ~AudioRecord();
496 AudioRecord(const AudioRecord& other);
497 AudioRecord& operator = (const AudioRecord& other);
503 AudioRecordThread(AudioRecord& receiver, bool bCanCallJava = false);
517 friend class AudioRecord; variable
519 AudioRecord& mReceiver;
633 DeathNotifier(AudioRecord* audioRecord) : mAudioRecord(audioRecord) { } in DeathNotifier()
[all …]
DIAudioRecord.h36 DECLARE_META_INTERFACE(AudioRecord);
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp93 case AudioRecord::EVENT_MARKER: { in recorderCallback()
107 case AudioRecord::EVENT_NEW_POS: { in recorderCallback()
157 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz) in getAudioRecord()
160 AudioRecord* const ar = in getAudioRecord()
161 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); in getAudioRecord()
162 return sp<AudioRecord>(ar); in getAudioRecord()
165 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) in setAudioRecord()
168 sp<AudioRecord> old = in setAudioRecord()
169 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); in setAudioRecord()
208 sp<AudioRecord> lpRecorder = 0; in android_media_AudioRecord_setup()
[all …]
/frameworks/base/media/java/android/media/
DAudioRecord.java56 public class AudioRecord implements AudioRouting class
275 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, in AudioRecord() method in AudioRecord
312 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioRecord() method in AudioRecord
381 int initResult = native_setup( new WeakReference<AudioRecord>(this), in AudioRecord()
403 /*package*/ AudioRecord(long nativeRecordInJavaObj) { in AudioRecord() method in AudioRecord
427 int initResult = native_setup(new WeakReference<AudioRecord>(this), in deferred_connect()
590 public AudioRecord build() throws UnsupportedOperationException { in build()
622 final AudioRecord record = new AudioRecord( in build()
1478 public void onRoutingChanged(AudioRecord audioRecord); in onRoutingChanged()
1482 if (router instanceof AudioRecord) { in onRoutingChanged()
[all …]
DAudioRecordRoutingProxy.java22 class AudioRecordRoutingProxy extends AudioRecord {
/frameworks/av/include/media/stagefright/
DAudioSource.h31 class AudioRecord; variable
57 status_t dataCallback(const AudioRecord::Buffer& buffer);
80 sp<AudioRecord> mRecord;
/frameworks/av/media/libstagefright/
DAudioSource.cpp38 case AudioRecord::EVENT_MORE_DATA: { in AudioRecordCallbackFunction()
39 source->dataCallback(*((AudioRecord::Buffer *) info)); in AudioRecordCallbackFunction()
42 case AudioRecord::EVENT_OVERRUN: { in AudioRecordCallbackFunction()
73 status_t status = AudioRecord::getMinFrameCount(&minFrameCount, in AudioSource()
88 mRecord = new AudioRecord( in AudioSource()
97 AudioRecord::TRANSFER_DEFAULT, in AudioSource()
302 status_t AudioSource::dataCallback(const AudioRecord::Buffer& audioBuffer) { in dataCallback()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp254 case android::AudioRecord::EVENT_MORE_DATA: { in audioRecorder_callback()
256 android::AudioRecord::Buffer* pBuff = (android::AudioRecord::Buffer*)info; in audioRecorder_callback()
309 case android::AudioRecord::EVENT_OVERRUN: in audioRecorder_callback()
313 case android::AudioRecord::EVENT_MARKER: in audioRecorder_callback()
317 case android::AudioRecord::EVENT_NEW_POS: in audioRecorder_callback()
321 case android::AudioRecord::EVENT_NEW_IAUDIORECORD: in audioRecorder_callback()
462 ar->mAudioRecord = new android::AudioRecord( in android_audioRecorder_realize()
473 android::AudioRecord::TRANSFER_CALLBACK, in android_audioRecorder_realize()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java28 import android.media.AudioRecord;
330 public AudioRecord createAudioRecordSink(AudioMix mix) throws IllegalArgumentException { in createAudioRecordSink()
343 AudioRecord ar = new AudioRecord( in createAudioRecordSink()
349 AudioRecord.getMinBufferSize(mix.getFormat().getSampleRate(), in createAudioRecordSink()
/frameworks/base/media/java/android/media/projection/
DMediaProjection.java24 import android.media.AudioRecord;
145 public AudioRecord createAudioRecord( in createAudioRecord()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java26 import android.media.AudioRecord;
130 private AudioRecord getAudioRecord() { in getAudioRecord()
131 AudioRecord ar = null; in getAudioRecord()
133 ar = new AudioRecord(MediaRecorder.AudioSource.DEFAULT, in getAudioRecord()
137 AudioRecord.getMinBufferSize(SAMPLING_RATE, in getAudioRecord()
142 AudioRecord.STATE_INITIALIZED, ar.getState()); in getAudioRecord()
158 AudioRecord ar = null; in test1_0ConstructorFromType()
201 AudioRecord ar = null; in test1_1ConstructorFromUuid()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp797 AudioRecord::getMinFrameCount(&input, sampleRate, in threadLoop()
814 sp<AudioRecord> record = new AudioRecord(mGroup->mOpPackageName); in threadLoop()
823 AudioRecord::TRANSFER_OBTAIN) != NO_ERROR) { in threadLoop()
903 AudioRecord::Buffer buffer; in threadLoop()
/frameworks/wilhelm/src/
Dclasses.h156 android::sp<android::AudioRecord> mAudioRecord;
/frameworks/wilhelm/src/itf/
DIAndroidConfiguration.c223 android::AudioRecord* pAudioRecord = ((CAudioRecorder*)configObj)->mAudioRecord.get(); in AllocRecorderRoutingProxy()
DIEngine.c460 (void) new (&thiz->mAudioRecord) android::sp<android::AudioRecord>(); in IEngine_CreateAudioRecorder()
/frameworks/base/docs/html/ndk/guides/audio/
Dopensl-prog-notes.jd376 buffer (for AudioRecord) should take approximately the same amount of time for each callback.
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd355 <p>New method {@link android.media.AudioRecord#startRecording startRecording()} allows
397 android.media.AudioRecord} using one of the {@link android.media.audiofx.AudioEffect}
/frameworks/base/docs/html/about/versions/marshmallow/
Dandroid-6.0.jd423 <li>New {@link android.media.AudioRecord.Builder} and {@link android.media.AudioTrack.Builder}
/frameworks/base/
Dpreloaded-classes1408 android.media.AudioRecord
/frameworks/base/api/
Dsystem-current.txt21257 public class AudioRecord implements android.media.AudioRouting {
21258 ctor public AudioRecord(int, int, int, int, int) throws java.lang.IllegalArgumentException;
21259 …ctor public AudioRecord(android.media.AudioAttributes, android.media.AudioFormat, int, int) throws…
21261 …method public deprecated void addOnRoutingChangedListener(android.media.AudioRecord.OnRoutingChang…
21287 …method public deprecated void removeOnRoutingChangedListener(android.media.AudioRecord.OnRoutingCh…
21291 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
21292 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
21309 public static class AudioRecord.Builder {
21310 ctor public AudioRecord.Builder();
21311 method public android.media.AudioRecord build() throws java.lang.UnsupportedOperationException;
[all …]
Dcurrent.txt19740 public class AudioRecord implements android.media.AudioRouting {
19741 ctor public AudioRecord(int, int, int, int, int) throws java.lang.IllegalArgumentException;
19743 …method public deprecated void addOnRoutingChangedListener(android.media.AudioRecord.OnRoutingChang…
19769 …method public deprecated void removeOnRoutingChangedListener(android.media.AudioRecord.OnRoutingCh…
19773 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
19774 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
19791 public static class AudioRecord.Builder {
19792 ctor public AudioRecord.Builder();
19793 method public android.media.AudioRecord build() throws java.lang.UnsupportedOperationException;
19794 …method public android.media.AudioRecord.Builder setAudioFormat(android.media.AudioFormat) throws j…
[all …]
Dtest-current.txt19809 public class AudioRecord implements android.media.AudioRouting {
19810 ctor public AudioRecord(int, int, int, int, int) throws java.lang.IllegalArgumentException;
19812 …method public deprecated void addOnRoutingChangedListener(android.media.AudioRecord.OnRoutingChang…
19838 …method public deprecated void removeOnRoutingChangedListener(android.media.AudioRecord.OnRoutingCh…
19842 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
19843 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
19860 public static class AudioRecord.Builder {
19861 ctor public AudioRecord.Builder();
19862 method public android.media.AudioRecord build() throws java.lang.UnsupportedOperationException;
19863 …method public android.media.AudioRecord.Builder setAudioFormat(android.media.AudioFormat) throws j…
[all …]

12