Sound Provider Factor class. More...

#include <soundprovider_factory.h>

Static Public Member Functions

static SoundProviderload (const std::string &filename, bool streamed, const FileSystem &fs, const std::string &type=std::string())
 Loads an sample file from 'filename', using the provider identified by 'type'. More...
 
static SoundProviderload (const std::string &fullname, bool streamed, const std::string &type=std::string())
 Loads an sample file from 'filename', using the provider identified by 'type'. More...
 
static SoundProviderload (IODevice &file, bool streamed, const std::string &type)
 Loads an sample file from 'file', using the provider identified by 'type'. More...
 

Detailed Description

Sound Provider Factor class.

Member Function Documentation

static SoundProvider* clan::SoundProviderFactory::load ( const std::string filename,
bool  streamed,
const FileSystem fs,
const std::string type = std::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 SoundProvider* clan::SoundProviderFactory::load ( const std::string fullname,
bool  streamed,
const std::string type = std::string() 
)
static

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

static SoundProvider* clan::SoundProviderFactory::load ( IODevice file,
bool  streamed,
const std::string type 
)
static

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


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