live
Data Structures | Public Member Functions | Data Fields
OggTrack Class Reference

#include <OggFile.hh>

Collaboration diagram for OggTrack:
Collaboration graph
[legend]

Data Structures

struct  _vtoHdrs
 

Public Member Functions

 OggTrack ()
 
virtual ~OggTrack ()
 
Boolean weNeedHeaders () const
 

Data Fields

u_int32_t trackNumber
 
char const * mimeType
 
unsigned samplingFrequency
 
unsigned numChannels
 
unsigned estBitrate
 
struct OggTrack::_vtoHdrs vtoHdrs
 

Detailed Description

Definition at line 92 of file OggFile.hh.

Constructor & Destructor Documentation

◆ OggTrack()

OggTrack::OggTrack ( )

◆ ~OggTrack()

virtual OggTrack::~OggTrack ( )
virtual

Member Function Documentation

◆ weNeedHeaders()

Boolean OggTrack::weNeedHeaders ( ) const
inline

Definition at line 123 of file OggFile.hh.

123  {
124  return
125  vtoHdrs.header[0] == NULL ||
126  vtoHdrs.header[1] == NULL ||
127  (vtoHdrs.header[2] == NULL && strcmp(mimeType, "audio/OPUS") != 0);
128  }
#define NULL
char const * mimeType
Definition: OggFile.hh:99
struct OggTrack::_vtoHdrs vtoHdrs
u_int8_t * header[3]
Definition: OggFile.hh:106

References OggTrack::_vtoHdrs::header, mimeType, NULL, and vtoHdrs.

Field Documentation

◆ estBitrate

unsigned OggTrack::estBitrate

Definition at line 102 of file OggFile.hh.

◆ mimeType

char const* OggTrack::mimeType

Definition at line 99 of file OggFile.hh.

Referenced by weNeedHeaders().

◆ numChannels

unsigned OggTrack::numChannels

Definition at line 101 of file OggFile.hh.

◆ samplingFrequency

unsigned OggTrack::samplingFrequency

Definition at line 101 of file OggFile.hh.

◆ trackNumber

u_int32_t OggTrack::trackNumber

Definition at line 98 of file OggFile.hh.

◆ vtoHdrs

struct OggTrack::_vtoHdrs OggTrack::vtoHdrs

Referenced by weNeedHeaders().


The documentation for this class was generated from the following file: