xoreos  0.0.5
Public Member Functions | Private Attributes | List of all members
Sound::Packet Class Reference

Public Member Functions

 Packet (Common::SeekableReadStream &i, long o, bool noGranule=false)
 
size_t headerSize ()
 
size_t size ()
 
size_t offset ()
 
size_t nextOffset ()
 
uint32 granule ()
 

Private Attributes

size_t _offset
 
size_t _size
 
uint32 _absoluteGranule
 
bool _noGranule
 

Detailed Description

Definition at line 378 of file wwriffvorbis.cpp.

Constructor & Destructor Documentation

◆ Packet()

Sound::Packet::Packet ( Common::SeekableReadStream i,
long  o,
bool  noGranule = false 
)
inline

Member Function Documentation

◆ granule()

uint32 Sound::Packet::granule ( )
inline

Definition at line 397 of file wwriffvorbis.cpp.

References _absoluteGranule.

Referenced by Sound::WwRIFFVorbisStream::generateHeaderSetup().

Here is the caller graph for this function:

◆ headerSize()

size_t Sound::Packet::headerSize ( )
inline

Definition at line 391 of file wwriffvorbis.cpp.

References _noGranule.

Referenced by Sound::WwRIFFVorbisStream::createPacket(), nextOffset(), and offset().

Here is the caller graph for this function:

◆ nextOffset()

size_t Sound::Packet::nextOffset ( )
inline

Definition at line 395 of file wwriffvorbis.cpp.

References _offset, _size, and headerSize().

Referenced by Sound::WwRIFFVorbisStream::createPacket(), and Sound::WwRIFFVorbisStream::generateHeaderSetup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ offset()

size_t Sound::Packet::offset ( )
inline

Definition at line 394 of file wwriffvorbis.cpp.

References _offset, and headerSize().

Referenced by Sound::WwRIFFVorbisStream::createPacket(), and Sound::WwRIFFVorbisStream::generateHeaderSetup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

size_t Sound::Packet::size ( )
inline

Definition at line 392 of file wwriffvorbis.cpp.

References _size.

Referenced by Sound::WwRIFFVorbisStream::createPacket(), and Sound::WwRIFFVorbisStream::generateHeaderSetup().

Here is the caller graph for this function:

Member Data Documentation

◆ _absoluteGranule

uint32 Sound::Packet::_absoluteGranule
private

Definition at line 402 of file wwriffvorbis.cpp.

Referenced by granule(), and Packet().

◆ _noGranule

bool Sound::Packet::_noGranule
private

Definition at line 403 of file wwriffvorbis.cpp.

Referenced by headerSize(), and Packet().

◆ _offset

size_t Sound::Packet::_offset
private

Definition at line 400 of file wwriffvorbis.cpp.

Referenced by nextOffset(), offset(), and Packet().

◆ _size

size_t Sound::Packet::_size
private

Definition at line 401 of file wwriffvorbis.cpp.

Referenced by nextOffset(), Packet(), and size().


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