ClanLib
2.3.7
|
Sound Provider Factor class. More...
#include <soundprovider_factory.h>
Static Public Member Functions | |
Operations | |
static CL_SoundProvider * | load (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_SoundProvider * | load (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_SoundProvider * | load (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... | |
Sound Provider Factor class.
|
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 |
Loads an sample file from 'filename', using the provider identified by 'type'.
|
static |
Loads an sample file from 'file', using the provider identified by 'type'.
|
static |
Map of the class factories for each sound provider type.