AmPlayoutBuffer Class Reference

base class for Playout buffer More...

#include <playout.h>

Inheritance diagram for AmPlayoutBuffer:

AmAdaptivePlayout AmAdaptivePlayout AmJbPlayout AmJbPlayout

List of all members.

Public Member Functions

 AmPlayoutBuffer (AmPLCBuffer *plcbuffer)
virtual void write (uint32_t ref_ts, uint32_t ts, int16_t *buf, int len, bool begin_talk)
virtual uint32_t read (uint32_t ts, int16_t *buf, int len)
void clearLastTs ()
 AmPlayoutBuffer (AmPLCBuffer *plcbuffer)
virtual void write (uint32_t ref_ts, uint32_t ts, int16_t *buf, int len, bool begin_talk)
virtual uint32_t read (uint32_t ts, int16_t *buf, int len)
void clearLastTs ()

Protected Member Functions

void buffer_put (uint32_t ts, int16_t *buf, int len)
void buffer_get (uint32_t ts, int16_t *buf, int len)
virtual void write_buffer (uint32_t ref_ts, uint32_t ts, int16_t *buf, int len)
virtual void direct_write_buffer (uint32_t ts, int16_t *buf, int len)
void buffer_put (uint32_t ts, int16_t *buf, int len)
void buffer_get (uint32_t ts, int16_t *buf, int len)
virtual void write_buffer (uint32_t ref_ts, uint32_t ts, int16_t *buf, int len)
virtual void direct_write_buffer (uint32_t ts, int16_t *buf, int len)

Protected Attributes

uint32_t r_ts
uint32_t w_ts
AmPLCBuffer * m_plcbuffer
uint32_t last_ts
bool last_ts_i
uint32_t recv_offset
bool recv_offset_i


Detailed Description

base class for Playout buffer
The documentation for this class was generated from the following files:

Generated on Tue Oct 7 20:25:53 2008 for spandsp by  doxygen 1.5.6