cAudio  2.3.0
3d Audio Engine
Public Member Functions | List of all members
cAudio::IDataSourceFactory Class Referenceabstract

Interface for creating data sources for use with the engine. More...

#include <IDataSourceFactory.h>

Public Member Functions

virtual IDataSourceCreateDataSource (const char *filename, bool streamingRequested)=0
 Creates a data source instance for use with the engine. More...
 

Detailed Description

Interface for creating data sources for use with the engine.

Definition at line 12 of file IDataSourceFactory.h.

Member Function Documentation

virtual IDataSource* cAudio::IDataSourceFactory::CreateDataSource ( const char *  filename,
bool  streamingRequested 
)
pure virtual

Creates a data source instance for use with the engine.

Parameters
filenameFilename of the file to get a stream for.
streamingRequestedTrue if the user requested streaming capabilities from the data source.
Returns
A pointer to a data source instance or NULL on failure to allocate.

Here is the caller graph for this function:


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