SASC
DVBSoftCAM

cTSBuffer Class Reference

#include <device.h>

Inheritance diagram for cTSBuffer:

List of all members.

Public Member Functions

 cTSBuffer (int File, int Size, int CardIndex)
 ~cTSBuffer ()
uchar * Get (void)

Detailed Description

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.

Definition at line 570 of file device.h.


Constructor & Destructor Documentation

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.

{
}

Member Function Documentation

uchar * cTSBuffer::Get ( void  )

Definition at line 520 of file device.cpp.

References NULL.

{
  return NULL;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines