Searched refs:AudioRecord (Results 1 - 13 of 13) sorted by relevance
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 35 class AudioRecord : virtual public RefBase class in namespace:android 41 /* Events used by AudioRecord callback function (callback_t). 42 * Keep in sync with frameworks/base/media/java/android/media/AudioRecord.java NATIVE_EVENT_*. 80 * event: type of event notified (see enum AudioRecord::event_type). 83 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read 94 * an AudioRecord object. 106 /* Constructs an uninitialized AudioRecord. No connection with 109 AudioRecord(); 111 /* Creates an AudioRecord track and registers it with AudioFlinger. 133 AudioRecord(audio_source_ [all...] |
H A D | IAudioRecord.h | 35 DECLARE_META_INTERFACE(AudioRecord);
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 19 #define LOG_TAG "AudioRecord" 27 #include <media/AudioRecord.h> 38 status_t AudioRecord::getMinFrameCount( 76 AudioRecord::AudioRecord() function in class:android::AudioRecord 82 AudioRecord::AudioRecord( function in class:android::AudioRecord 99 AudioRecord::~AudioRecord() 107 mAudioRecordThread->requestExit(); // see comment in AudioRecord [all...] |
H A D | Android.mk | 22 AudioRecord.cpp \
|
H A D | IAudioRecord.cpp | 80 IMPLEMENT_META_INTERFACE(AudioRecord, "android.media.IAudioRecord");
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 19 #define LOG_TAG "AudioRecord-JNI" 33 #include <media/AudioRecord.h> 45 static const char* const kClassPathName = "android/media/AudioRecord"; 52 jfieldID nativeRecorderInJavaObj; // provides access to the C++ AudioRecord object 53 jfieldID nativeCallbackCookie; // provides access to the AudioRecord callback data 104 if (event == AudioRecord::EVENT_MORE_DATA) { 106 AudioRecord::Buffer* pBuff = (AudioRecord::Buffer*)info; 109 } else if (event == AudioRecord::EVENT_MARKER) { 122 } else if (event == AudioRecord [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | AudioSource.h | 21 #include <media/AudioRecord.h> 31 class AudioRecord; 53 status_t dataCallback(const AudioRecord::Buffer& buffer); 76 AudioRecord *mRecord;
|
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 33 * The AudioRecord class manages the audio resources for Java applications 35 * achieved by "pulling" (reading) the data from the AudioRecord object. The 36 * application is responsible for polling the AudioRecord object in time using one of 39 * on the audio data storage format that is the most convenient for the user of AudioRecord. 40 * <p>Upon creation, an AudioRecord object initializes its associated audio buffer that it will 42 * determines how long an AudioRecord can record before "over-running" data that has not 46 public class AudioRecord class 52 * indicates AudioRecord state is not successfully initialized. 56 * indicates AudioRecord state is ready to be used 61 * indicates AudioRecord recordin 217 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, method in class:AudioRecord [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 21 #include <media/AudioRecord.h> 36 case AudioRecord::EVENT_MORE_DATA: { 37 source->dataCallback(*((AudioRecord::Buffer *) info)); 40 case AudioRecord::EVENT_OVERRUN: { 41 ALOGW("AudioRecord reported overrun!"); 62 status_t status = AudioRecord::getMinFrameCount(&minFrameCount, 67 // make sure that the AudioRecord callback never returns more than the maximum 71 // make sure that the AudioRecord total buffer size is large enough 77 mRecord = new AudioRecord( 274 status_t AudioSource::dataCallback(const AudioRecord [all...] |
/frameworks/wilhelm/src/android/ |
H A D | AudioRecorder_to_android.cpp | 109 //SL_LOGV("received event EVENT_NEW_POS from AudioRecord"); 126 //SL_LOGV("received event EVENT_MARKER from AudioRecord"); 143 //SL_LOGV("received event EVENT_OVERRUN from AudioRecord"); 218 case android::AudioRecord::EVENT_MORE_DATA: { 220 android::AudioRecord::Buffer* pBuff = (android::AudioRecord::Buffer*)info; 279 case android::AudioRecord::EVENT_OVERRUN: 283 case android::AudioRecord::EVENT_MARKER: 287 case android::AudioRecord::EVENT_NEW_POS: 394 SL_LOGV("new AudioRecord [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioEffectTest.java | 26 import android.media.AudioRecord; 130 private AudioRecord getAudioRecord() { 131 AudioRecord ar = null; 133 ar = new AudioRecord(MediaRecorder.AudioSource.DEFAULT, 137 AudioRecord.getMinBufferSize(SAMPLING_RATE, 140 assertNotNull("Could not create AudioRecord", ar); 141 assertEquals("AudioRecord not initialized", 142 AudioRecord.STATE_INITIALIZED, ar.getState()); 144 fail("AudioRecord invalid parameter"); 158 AudioRecord a [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 41 #include <media/AudioRecord.h> 787 // Find out the frame count for AudioTrack and AudioRecord. 792 AudioRecord::getMinFrameCount(&input, sampleRate, 807 // Initialize AudioTrack and AudioRecord. 809 AudioRecord record; 854 // Start AudioRecord before AudioTrack. This prevents AudioTrack from being 855 // disabled due to buffer underrun while waiting for AudioRecord. 892 AudioRecord::Buffer buffer; 902 ALOGE("cannot read from AudioRecord");
|
/frameworks/wilhelm/src/ |
H A D | classes.h | 151 android::AudioRecord *mAudioRecord; //FIXME candidate to be encapsulated in a ARecorder subclass
|
Completed in 340 milliseconds