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();
499 AudioRecord(const AudioRecord& other);
500 AudioRecord& operator = (const AudioRecord& other);
506 AudioRecordThread(AudioRecord& receiver, bool bCanCallJava = false);
520 friend class AudioRecord; variable
522 AudioRecord& mReceiver;
636 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()
72 status_t status = AudioRecord::getMinFrameCount(&minFrameCount, in AudioSource()
87 mRecord = new AudioRecord( in AudioSource()
96 AudioRecord::TRANSFER_DEFAULT, in AudioSource()
297 status_t AudioSource::dataCallback(const AudioRecord::Buffer& audioBuffer) { in dataCallback()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp320 case android::AudioRecord::EVENT_MORE_DATA: { in audioRecorder_callback()
322 android::AudioRecord::Buffer* pBuff = (android::AudioRecord::Buffer*)info; in audioRecorder_callback()
375 case android::AudioRecord::EVENT_OVERRUN: in audioRecorder_callback()
379 case android::AudioRecord::EVENT_MARKER: in audioRecorder_callback()
383 case android::AudioRecord::EVENT_NEW_POS: in audioRecorder_callback()
387 case android::AudioRecord::EVENT_NEW_IAUDIORECORD: in audioRecorder_callback()
689 ar->mAudioRecord = new android::AudioRecord( in android_audioRecorder_realize()
700 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/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java30 import android.media.AudioRecord;
532 AudioRecord audioRecord = null; in run()
562 int minBufferSize = AudioRecord.getMinBufferSize( in run()
587 audioRecord = new AudioRecord(attributes, format, bytesRequired, in run()
/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/wilhelm/src/
Dclasses.h157 android::sp<android::AudioRecord> mAudioRecord;
/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.txt21366 public class AudioRecord implements android.media.AudioRouting {
21367 ctor public AudioRecord(int, int, int, int, int) throws java.lang.IllegalArgumentException;
21368 …ctor public AudioRecord(android.media.AudioAttributes, android.media.AudioFormat, int, int) throws…
21370 …method public deprecated void addOnRoutingChangedListener(android.media.AudioRecord.OnRoutingChang…
21396 …method public deprecated void removeOnRoutingChangedListener(android.media.AudioRecord.OnRoutingCh…
21400 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
21401 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
21418 public static class AudioRecord.Builder {
21419 ctor public AudioRecord.Builder();
21420 method public android.media.AudioRecord build() throws java.lang.UnsupportedOperationException;
[all …]
Dcurrent.txt19840 public class AudioRecord implements android.media.AudioRouting {
19841 ctor public AudioRecord(int, int, int, int, int) throws java.lang.IllegalArgumentException;
19843 …method public deprecated void addOnRoutingChangedListener(android.media.AudioRecord.OnRoutingChang…
19869 …method public deprecated void removeOnRoutingChangedListener(android.media.AudioRecord.OnRoutingCh…
19873 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
19874 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
19891 public static class AudioRecord.Builder {
19892 ctor public AudioRecord.Builder();
19893 method public android.media.AudioRecord build() throws java.lang.UnsupportedOperationException;
19894 …method public android.media.AudioRecord.Builder setAudioFormat(android.media.AudioFormat) throws j…
[all …]
Dtest-current.txt19914 public class AudioRecord implements android.media.AudioRouting {
19915 ctor public AudioRecord(int, int, int, int, int) throws java.lang.IllegalArgumentException;
19917 …method public deprecated void addOnRoutingChangedListener(android.media.AudioRecord.OnRoutingChang…
19943 …method public deprecated void removeOnRoutingChangedListener(android.media.AudioRecord.OnRoutingCh…
19947 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
19948 …method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdat…
19965 public static class AudioRecord.Builder {
19966 ctor public AudioRecord.Builder();
19967 method public android.media.AudioRecord build() throws java.lang.UnsupportedOperationException;
19968 …method public android.media.AudioRecord.Builder setAudioFormat(android.media.AudioFormat) throws j…
[all …]

12