Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

IAudioStreamFactory Class Reference

IAudioStreamFactory is a factory template used to create IAudioStream files. More...

#include <IAudioStream.h>

List of all members.

Public Methods

virtual bool CreateAudioStream (IAudioStream *&pStream)=0


Detailed Description

IAudioStreamFactory is a factory template used to create IAudioStream files.

IAudioStreamFactory is an abstract template class used by the audio system when it must create IAudioStream objects. A default implementation of this interface is used to create standard file-based IAudioStream objects, but a client may choose to create a custom implementation of this class, along with a custom implementation of IAudioStream, which will be used in place of the internal default version of the factory. The custom factory may be passed to the audio system in the AudioMgrInit structure. The client is responsible for allocating and deallocating the object.

See also:
IAudioStream, AudioMgrInit, IAudioManager::Init()


Member Function Documentation

bool IAudioStreamFactory::CreateAudioStream ( IAudioStream *& pStream ) [pure virtual]
 

Creates an IAudioStream-based object.

Parameters:
pStream   Holds a pointer to an IAudioStream object which will be filled out by the function.
Returns:
true indicates success, false indicates failure.
See also:
IAudioStream


The documentation for this class was generated from the following file:
Generated at Sun Jul 28 23:17:42 2002 for GAP Audio System by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001