AmAdaptivePlayout Class Reference

adaptive playout buffer More...

#include <AmPlayoutBuffer.h>

Inheritance diagram for AmAdaptivePlayout:

AmPlayoutBuffer

Public Member Functions

void direct_write (unsigned int ts, ShortSample *buf, unsigned int len)
void write (u_int32_t ref_ts, u_int32_t ts, int16_t *buf, u_int32_t len)
u_int32_t read (u_int32_t ts, int16_t *buf, u_int32_t len)

Detailed Description

adaptive playout buffer


Member Function Documentation

void AmAdaptivePlayout::direct_write ( unsigned int  ts,
ShortSample *  buf,
unsigned int  len 
) [virtual]

write len samples beginning from timestamp ts from buf

Reimplemented from AmPlayoutBuffer.

u_int32_t AmAdaptivePlayout::read ( u_int32_t  ts,
int16_t *  buf,
u_int32_t  len 
) [virtual]

read len samples beginn from timestamp ts into buf

Reimplemented from AmPlayoutBuffer.

void AmAdaptivePlayout::write ( u_int32_t  ref_ts,
u_int32_t  ts,
int16_t *  buf,
u_int32_t  len 
) [virtual]

write len samples which beginn from timestamp ts from buf reference ts of buffer (monotonic increasing buffer ts) is ref_ts

Reimplemented from AmPlayoutBuffer.


The documentation for this class was generated from the following files:
Generated on Thu Mar 8 00:12:45 2007 for Sems by  doxygen 1.4.7
Home |  Recent changes |  Search |  Glossary |  Sitemap |  Login