Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
OggStreamImpl< Adapter > Class Template Reference
Inheritance diagram for OggStreamImpl< Adapter >:
Collaboration diagram for OggStreamImpl< Adapter >:

Public Member Functions

 OggStreamImpl (const Adapter &adapter)
 
Status Close ()
 
Status Open ()
 
virtual ALenum Format ()
 
virtual ALsizei SamplingRate ()
 
virtual bool atFileEOF ()
 
virtual Status ResetFile ()
 
virtual Status GetNextChunk (u8 *buffer, size_t size)
 
- Public Member Functions inherited from OggStream
virtual ~OggStream ()
 
virtual ALenum Format ()=0
 
virtual ALsizei SamplingRate ()=0
 
virtual bool atFileEOF ()=0
 
virtual Status ResetFile ()=0
 
virtual Status Close ()=0
 
virtual Status GetNextChunk (u8 *buffer, size_t size)=0
 

Private Attributes

Adapter adapter
 
OggVorbis_File vf
 
vorbis_info * info
 
bool m_fileEOF
 

Constructor & Destructor Documentation

◆ OggStreamImpl()

template<typename Adapter >
OggStreamImpl< Adapter >::OggStreamImpl ( const Adapter &  adapter)
inline

Member Function Documentation

◆ atFileEOF()

template<typename Adapter >
virtual bool OggStreamImpl< Adapter >::atFileEOF ( )
inlinevirtual

Implements OggStream.

◆ Close()

template<typename Adapter >
Status OggStreamImpl< Adapter >::Close ( )
inlinevirtual

Implements OggStream.

◆ Format()

template<typename Adapter >
virtual ALenum OggStreamImpl< Adapter >::Format ( )
inlinevirtual

Implements OggStream.

◆ GetNextChunk()

template<typename Adapter >
virtual Status OggStreamImpl< Adapter >::GetNextChunk ( u8 buffer,
size_t  size 
)
inlinevirtual
Returns
bytes read (<= size) or a (negative) Status

Implements OggStream.

◆ Open()

template<typename Adapter >
Status OggStreamImpl< Adapter >::Open ( )
inline

◆ ResetFile()

template<typename Adapter >
virtual Status OggStreamImpl< Adapter >::ResetFile ( )
inlinevirtual

Implements OggStream.

◆ SamplingRate()

template<typename Adapter >
virtual ALsizei OggStreamImpl< Adapter >::SamplingRate ( )
inlinevirtual

Implements OggStream.

Member Data Documentation

◆ adapter

template<typename Adapter >
Adapter OggStreamImpl< Adapter >::adapter
private

◆ info

template<typename Adapter >
vorbis_info* OggStreamImpl< Adapter >::info
private

◆ m_fileEOF

template<typename Adapter >
bool OggStreamImpl< Adapter >::m_fileEOF
private

◆ vf

template<typename Adapter >
OggVorbis_File OggStreamImpl< Adapter >::vf
private

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