cAudio 2.3.0
3d Audio Engine
Loading...
Searching...
No Matches
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.
 

Detailed Description

Interface for creating data sources for use with the engine.

Definition at line 12 of file IDataSourceFactory.h.

Constructor & Destructor Documentation

◆ IDataSourceFactory()

cAudio::IDataSourceFactory::IDataSourceFactory ( )
inline

Definition at line 15 of file IDataSourceFactory.h.

◆ ~IDataSourceFactory()

virtual cAudio::IDataSourceFactory::~IDataSourceFactory ( )
inlinevirtual

Definition at line 16 of file IDataSourceFactory.h.

Member Function Documentation

◆ CreateDataSource()

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: