ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge
Inheritance diagram for Video::MPEGPSDecoder::PS2AudioTrack:
Collaboration diagram for Video::MPEGPSDecoder::PS2AudioTrack:

List of all members.

Public Member Functions

 PS2AudioTrack (Common::SeekableReadStream *firstPacket, Audio::Mixer::SoundType soundType)
 ~PS2AudioTrack ()
bool sendPacket (Common::SeekableReadStream *packet, uint32 pts, uint32 dts)
StreamType getStreamType () const

Protected Member Functions

Audio::AudioStreamgetAudioStream () const

Private Types

enum  { PS2_PCM = 0x01, PS2_ADPCM = 0x10 }

Private Member Functions

uint32 calculateSampleCount (uint32 packetSize) const

Private Attributes

Audio::PacketizedAudioStream_audStream
uint32 _channels
uint32 _soundType
uint32 _interleave
bool _isFirstPacket
byte_blockBuffer
uint32 _blockPos
uint32 _blockUsed

Detailed Description

Definition at line 184 of file mpegps_decoder.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
PS2_PCM 
PS2_ADPCM 

Definition at line 198 of file mpegps_decoder.h.


Constructor & Destructor Documentation

Video::MPEGPSDecoder::PS2AudioTrack::PS2AudioTrack ( Common::SeekableReadStream firstPacket,
Audio::Mixer::SoundType  soundType 
)

Definition at line 747 of file mpegps_decoder.cpp.

Video::MPEGPSDecoder::PS2AudioTrack::~PS2AudioTrack (  ) 

Definition at line 774 of file mpegps_decoder.cpp.


Member Function Documentation

uint32 Video::MPEGPSDecoder::PS2AudioTrack::calculateSampleCount ( uint32  packetSize  )  const [private]

Definition at line 838 of file mpegps_decoder.cpp.

Audio::AudioStream * Video::MPEGPSDecoder::PS2AudioTrack::getAudioStream (  )  const [protected]

Definition at line 834 of file mpegps_decoder.cpp.

StreamType Video::MPEGPSDecoder::PS2AudioTrack::getStreamType (  )  const [inline, virtual]

Implements Video::MPEGPSDecoder::MPEGStream.

Definition at line 190 of file mpegps_decoder.h.

bool Video::MPEGPSDecoder::PS2AudioTrack::sendPacket ( Common::SeekableReadStream packet,
uint32  pts,
uint32  dts 
) [virtual]

Implements Video::MPEGPSDecoder::MPEGStream.

Definition at line 779 of file mpegps_decoder.cpp.


Member Data Documentation

Definition at line 206 of file mpegps_decoder.h.


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


Generated on Sat Jul 13 2019 05:05:17 for ResidualVM by doxygen 1.7.1
curved edge   curved edge