OpenClonk
C4SoundLoaders::SoundLoader Class Referenceabstract

#include <C4SoundLoaders.h>

Inheritance diagram for C4SoundLoaders::SoundLoader:
[legend]
Collaboration diagram for C4SoundLoaders::SoundLoader:
[legend]

Public Member Functions

 SoundLoader ()
 
virtual ~SoundLoader ()=default
 
virtual bool ReadInfo (SoundInfo *info, BYTE *data, size_t data_length, uint32_t options=0)=0
 

Public Attributes

SoundLoadernext
 

Static Public Attributes

static const int OPTION_Raw = 1
 
static SoundLoaderfirst_loader
 

Detailed Description

Definition at line 38 of file C4SoundLoaders.h.

Constructor & Destructor Documentation

◆ SoundLoader()

C4SoundLoaders::SoundLoader::SoundLoader ( )
inline

Definition at line 45 of file C4SoundLoaders.h.

46  {
48  first_loader = this;
49  }
static SoundLoader * first_loader

◆ ~SoundLoader()

virtual C4SoundLoaders::SoundLoader::~SoundLoader ( )
virtualdefault

Member Function Documentation

◆ ReadInfo()

virtual bool C4SoundLoaders::SoundLoader::ReadInfo ( SoundInfo info,
BYTE data,
size_t  data_length,
uint32_t  options = 0 
)
pure virtual

Member Data Documentation

◆ first_loader

SoundLoader * SoundLoader::first_loader
static

Definition at line 43 of file C4SoundLoaders.h.

Referenced by C4SoundEffect::Load().

◆ next

SoundLoader* C4SoundLoaders::SoundLoader::next

Definition at line 44 of file C4SoundLoaders.h.

Referenced by C4SoundEffect::Load().

◆ OPTION_Raw

const int C4SoundLoaders::SoundLoader::OPTION_Raw = 1
static

Definition at line 41 of file C4SoundLoaders.h.

Referenced by C4SoundEffect::Load().


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