|
RDK Documentation (Open Sourced RDK Components)
|
28 unsigned char * m_start_ptr;
30 unsigned int m_clip_length;
31 unsigned int m_refcount;
33 audio_buffer(
const unsigned char *in_ptr,
unsigned int in_size,
unsigned int clip_length,
unsigned int refcount);
void free_audio_buffer(audio_buffer *ptr)
Deletes the audio buffer.
void audio_buffer_get_global_lock()
Function to acquire lock.
audio_buffer * create_new_audio_buffer(const unsigned char *in_ptr, unsigned int in_size, unsigned int clip_length, unsigned int refcount)
This API creates new audio buffer.
void unref_audio_buffer(audio_buffer *ptr)
This API is to release the audio buffer.
void audio_buffer_release_global_lock()
Function to release lock.
void set_ref_audio_buffer(audio_buffer *ptr, unsigned int refcount)
This API is used to update the buffer references.