|
SASC
DVBSoftCAM
|
#include <device.h>
Inheritance diagram for cTSBuffer:Public Member Functions | |
| cTSBuffer (int File, int Size, int CardIndex) | |
| ~cTSBuffer () | |
| uchar * | Get (void) |
Derived cDevice classes that can receive channels will have to provide Transport Stream (TS) packets one at a time. cTSBuffer implements a simple buffer that allows the device to read a larger amount of data from the driver with each call to Read(), thus avoiding the overhead of getting each TS packet separately from the driver. It also makes sure the returned data points to a TS packet and automatically re-synchronizes after broken packets.
| cTSBuffer::cTSBuffer | ( | int | File, |
| int | Size, | ||
| int | CardIndex | ||
| ) |
Definition at line 508 of file device.cpp.
{
}
| cTSBuffer::~cTSBuffer | ( | ) |
Definition at line 512 of file device.cpp.
{
}
| uchar * cTSBuffer::Get | ( | void | ) |