Properties Class Reference

#include <mp4properties.h>

List of all members.

Public Member Functions

virtual int bitrate () const
virtual int channels () const
virtual int length () const
 Properties (Properties::ReadStyle style)
void readMP4Properties (MP4FileHandle mp4File)
virtual int sampleRate () const
virtual ~Properties ()

Private Member Functions

Propertiesoperator= (const Properties &)
 Properties (const Properties &)
void read ()
void readAudioTrackProperties (MP4FileHandle mp4File, MP4TrackId trackId)

Private Attributes

int m_bitrate
int m_channels
int m_length
int m_sampleRate

Friends

class MP4::File


Detailed Description

This reads the data from a MP4 stream to support the AudioProperties API.

Definition at line 44 of file mp4properties.h.


Constructor & Destructor Documentation

Properties ( Properties::ReadStyle  style  ) 

Initialize this structure

Definition at line 45 of file mp4properties.cpp.

References Properties::m_bitrate, Properties::m_channels, Properties::m_length, and Properties::m_sampleRate.

~Properties (  )  [virtual]

Destroys this MP4 Properties instance.

Definition at line 53 of file mp4properties.cpp.

Properties ( const Properties  )  [private]


Member Function Documentation

int bitrate (  )  const [virtual]

Definition at line 62 of file mp4properties.cpp.

References Properties::m_bitrate.

int channels (  )  const [virtual]

Definition at line 72 of file mp4properties.cpp.

References Properties::m_channels.

int length (  )  const [virtual]

Definition at line 57 of file mp4properties.cpp.

References Properties::m_length.

Properties& operator= ( const Properties  )  [private]

void read (  )  [private]

void readAudioTrackProperties ( MP4FileHandle  mp4File,
MP4TrackId  trackId 
) [private]

Definition at line 97 of file mp4properties.cpp.

References Properties::m_bitrate, Properties::m_channels, Properties::m_length, Properties::m_sampleRate, and UINT64_TO_DOUBLE.

Referenced by Properties::readMP4Properties().

Here is the caller graph for this function:

void readMP4Properties ( MP4FileHandle  mp4File  ) 

Definition at line 77 of file mp4properties.cpp.

References Properties::readAudioTrackProperties().

Referenced by File::read().

Here is the call graph for this function:

Here is the caller graph for this function:

int sampleRate (  )  const [virtual]

Definition at line 67 of file mp4properties.cpp.

References Properties::m_sampleRate.


Friends And Related Function Documentation

friend class MP4::File [friend]

Definition at line 69 of file mp4properties.h.


Member Data Documentation

int m_bitrate [private]

Definition at line 72 of file mp4properties.h.

Referenced by Properties::bitrate(), Properties::Properties(), and Properties::readAudioTrackProperties().

int m_channels [private]

Definition at line 74 of file mp4properties.h.

Referenced by Properties::channels(), Properties::Properties(), and Properties::readAudioTrackProperties().

int m_length [private]

Definition at line 71 of file mp4properties.h.

Referenced by Properties::length(), Properties::Properties(), and Properties::readAudioTrackProperties().

int m_sampleRate [private]

Definition at line 73 of file mp4properties.h.

Referenced by Properties::Properties(), Properties::readAudioTrackProperties(), and Properties::sampleRate().


The documentation for this class was generated from the following files:
Generated on Mon Aug 6 21:24:50 2007 for plai by  doxygen 1.5.1