Home | History | Annotate | Download | only in media

Lines Matching full:callback

52     /* Events used by AudioTrack callback function (audio_track_cblk_t).
57 // If this event is delivered but the callback handler
90 /* As a convenience, if a callback is supplied, a handler thread
92 * invokes the callback when a new buffer becomes available or various conditions occur.
96 * user: Pointer to context for use by the callback receiver.
98 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
130 * Data to be rendered is supplied by write() or by the callback EVENT_MORE_DATA.
147 * cbf: Callback function. If not null, this function is called periodically
149 * user: Context for use by the callback receiver.
150 * notificationFrames: The callback function is called each time notificationFrames PCM
175 * It is recommended to pass a callback function to be notified of playback end by an
249 * make it active. If set, the callback will start being called.
256 * In streaming mode, the callback will cease being called and
272 /* Pause a track. After pause, the callback will cease being called and
319 /* Sets marker position. When playback reaches the number of frames specified, a callback with
321 * notification callback. To set a marker at a position which would compute as 0,
323 * If the AudioTrack has been opened with no callback function associated, the operation will
333 * - INVALID_OPERATION: the AudioTrack has no callback installed.
339 * a callback with event type EVENT_NEW_POS is called.
341 * callback.
342 * If the AudioTrack has been opened with no callback function associated, the operation will
352 * - INVALID_OPERATION: the AudioTrack has no callback installed.
440 * which should use write() or callback EVENT_MORE_DATA instead.
493 /* a small internal class to handle the callback */
571 callback_t mCbf; // callback handler for events, or NULL
572 void* mUserData; // for client callback handler
576 // notification callback
578 // notification callback