CL_SoundProviderFactory::load - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_SoundProviderFactory::load

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

    	CL_SoundProvider* load(
    		const std::string& filename, bool streamed = false, const std::string& type = "", CL_InputSourceProvider* input_provider = 0);

Detailed description:

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.

See also:

CL_InputSourceProvider | CL_SoundProvider | CL_InputSource | CL_SoundProviderFactory | CL_Sound

Questions or comments, write to the ClanLib mailing list.