Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OpalPCM16SilenceDetector Class Reference

#include <silencedetect.h>

Inheritance diagram for OpalPCM16SilenceDetector:

OpalSilenceDetector List of all members.

Public Methods

Overrides from OpalSilenceDetector
virtual unsigned GetAverageSignalLevel (const BYTE *buffer, PINDEX size)

Member Function Documentation

virtual unsigned OpalPCM16SilenceDetector::GetAverageSignalLevel const BYTE *    buffer,
PINDEX    size
[virtual]
 

Get the average signal level in the stream. This is called from within the silence detection algorithm to calculate the average signal level of the last data frame read from the stream.

The default behaviour returns UINT_MAX which indicates that the average signal has no meaning for the stream.

Parameters:
buffer  RTP payload being detected
size  Size of payload buffer

Implements OpalSilenceDetector.


The documentation for this class was generated from the following file:
Generated on Sun Jul 23 09:40:35 2006 for OPAL by doxygen1.2.18