Home | History | Annotate | Download | only in media

Lines Matching defs:AudioRecord

36 class AudioRecord : virtual public RefBase
42 /* Events used by AudioRecord callback function (callback_t).
43 * Keep in sync with frameworks/base/media/java/android/media/AudioRecord.java NATIVE_EVENT_*.
78 * event: type of event notified (see enum AudioRecord::event_type).
81 * - EVENT_MORE_DATA: pointer to AudioRecord::Buffer struct. The callback must not read
92 * an AudioRecord object.
104 /* Constructs an uninitialized AudioRecord. No connection with
107 AudioRecord();
109 /* Creates an AudioRecord object and registers it with AudioFlinger.
123 * latency of the track. The actual size selected by the AudioRecord could
134 AudioRecord(audio_source_t inputSource,
145 /* Terminates the AudioRecord and unregisters it from AudioFlinger.
146 * Also destroys all resources associated with the AudioRecord.
148 ~AudioRecord();
151 /* Initialize an uninitialized AudioRecord.
154 * - INVALID_OPERATION: AudioRecord is already intitialized or record device is already in use
171 /* Result of constructing the AudioRecord. This must be checked
172 * before using any AudioRecord API (except for set()), because using
173 * an uninitialized AudioRecord produces undefined results.
179 * This includes the latency due to AudioRecord buffer size,
215 * If the AudioRecord has been opened with no callback function associated,
224 * - INVALID_OPERATION: the AudioRecord has no callback installed.
234 * If the AudioRecord has been opened with no callback function associated,
243 * - INVALID_OPERATION: the AudioRecord has no callback installed.
254 * position: Address where to return record head position within AudioRecord buffer.
262 /* Returns a handle on the audio input used by this AudioRecord.
272 /* Returns the audio session ID associated with this AudioRecord.
278 * AudioRecord session ID.
324 AudioRecord(const AudioRecord& other);
325 AudioRecord& operator = (const AudioRecord& other);
331 AudioRecordThread(AudioRecord& receiver, bool bCanCallJava = false);
341 friend class AudioRecord;
343 AudioRecord& mReceiver;