ClanLib  2.3.7
List of all members
CL_SoundProviderFactory Class Reference

Sound Provider Factor class. More...

#include <soundprovider_factory.h>

Static Public Member Functions

Operations
static CL_SoundProviderload (const CL_String &filename, bool streamed, const CL_VirtualDirectory &directory, const CL_String &type=CL_String())
 Loads an sample file from 'filename', using the provider identified by 'type'. More...
 
static CL_SoundProviderload (const CL_String &fullname, bool streamed, const CL_String &type=CL_String())
 Loads an sample file from 'filename', using the provider identified by 'type'. More...
 
static CL_SoundProviderload (CL_IODevice &file, bool streamed, const CL_String &type)
 Loads an sample file from 'file', using the provider identified by 'type'. More...
 

Static Public Attributes

Attributes
static std::map< CL_String,
CL_SoundProviderType * > 
types
 Map of the class factories for each sound provider type. More...
 

Detailed Description

Sound Provider Factor class.

Member Function Documentation

static CL_SoundProvider* CL_SoundProviderFactory::load ( const CL_String filename,
bool  streamed,
const CL_VirtualDirectory directory,
const CL_String type = CL_String() 
)
static

Loads an sample file from 'filename', using the provider identified by 'type'.

If the type is an empty string, it uses the extension of the filename to determine what type it is.

The input provider will be used as a the source for filename, if specified.

static CL_SoundProvider* CL_SoundProviderFactory::load ( const CL_String fullname,
bool  streamed,
const CL_String type = CL_String() 
)
static

Loads an sample file from 'filename', using the provider identified by 'type'.

static CL_SoundProvider* CL_SoundProviderFactory::load ( CL_IODevice file,
bool  streamed,
const CL_String type 
)
static

Loads an sample file from 'file', using the provider identified by 'type'.

Member Data Documentation

std::map<CL_String, CL_SoundProviderType *> CL_SoundProviderFactory::types
static

Map of the class factories for each sound provider type.


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