xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Video::QuickTimeDecoder::AudioSampleDesc Class Reference
Inheritance diagram for Video::QuickTimeDecoder::AudioSampleDesc:
Inheritance graph
[legend]
Collaboration diagram for Video::QuickTimeDecoder::AudioSampleDesc:
Collaboration graph
[legend]

Public Member Functions

 AudioSampleDesc (QuickTimeTrack *parentTrack, uint32 codecTag)
 
bool isAudioCodecSupported () const
 
Sound::PacketizedAudioStreamcreateAudioStream () const
 
- Public Member Functions inherited from Video::QuickTimeDecoder::SampleDesc
 SampleDesc (QuickTimeTrack *parentTrack, uint32 codecTag)
 
virtual ~SampleDesc ()
 
uint32 getCodecTag () const
 

Public Attributes

uint16 _bitsPerSample
 
uint16 _channels
 
uint32 _sampleRate
 
uint32 _samplesPerFrame
 
uint32 _bytesPerFrame
 
- Public Attributes inherited from Video::QuickTimeDecoder::SampleDesc
Common::ScopedPtr< Common::SeekableReadStream_extraData
 
byte _objectTypeMP4
 

Additional Inherited Members

- Protected Attributes inherited from Video::QuickTimeDecoder::SampleDesc
QuickTimeTrack_parentTrack
 
uint32 _codecTag
 

Detailed Description

Definition at line 135 of file quicktime.h.

Constructor & Destructor Documentation

◆ AudioSampleDesc()

Video::QuickTimeDecoder::AudioSampleDesc::AudioSampleDesc ( QuickTimeDecoder::QuickTimeTrack parentTrack,
uint32  codecTag 
)

Definition at line 705 of file quicktime.cpp.

References _bitsPerSample, _bytesPerFrame, _channels, _sampleRate, and _samplesPerFrame.

Member Function Documentation

◆ createAudioStream()

Sound::PacketizedAudioStream * Video::QuickTimeDecoder::AudioSampleDesc::createAudioStream ( ) const

◆ isAudioCodecSupported()

bool Video::QuickTimeDecoder::AudioSampleDesc::isAudioCodecSupported ( ) const

Definition at line 713 of file quicktime.cpp.

References Common::UString::c_str(), MKTAG, Video::tag2str(), and warning().

Here is the call graph for this function:

Member Data Documentation

◆ _bitsPerSample

uint16 Video::QuickTimeDecoder::AudioSampleDesc::_bitsPerSample

◆ _bytesPerFrame

uint32 Video::QuickTimeDecoder::AudioSampleDesc::_bytesPerFrame

◆ _channels

uint16 Video::QuickTimeDecoder::AudioSampleDesc::_channels

◆ _sampleRate

uint32 Video::QuickTimeDecoder::AudioSampleDesc::_sampleRate

Definition at line 145 of file quicktime.h.

Referenced by AudioSampleDesc().

◆ _samplesPerFrame

uint32 Video::QuickTimeDecoder::AudioSampleDesc::_samplesPerFrame

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