Blender  V2.59
Public Member Functions
AUD_DoubleFactory Class Reference

#include <AUD_DoubleFactory.h>

Inheritance diagram for AUD_DoubleFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_DoubleFactory (AUD_IFactory *factory1, AUD_IFactory *factory2)
virtual AUD_IReadercreateReader () const

Detailed Description

This factory plays two other factories behind each other.

Note:
Readers from the underlying factories must have the same sample rate and channel count.

Definition at line 41 of file AUD_DoubleFactory.h.


Constructor & Destructor Documentation

AUD_DoubleFactory::AUD_DoubleFactory ( AUD_IFactory factory1,
AUD_IFactory factory2 
)

Creates a new double factory.

Parameters:
factory1The first input factory.
factory2The second input factory.

Definition at line 35 of file AUD_DoubleFactory.cpp.


Member Function Documentation

AUD_IReader * AUD_DoubleFactory::createReader ( ) const [virtual]

Creates a reader for playback of the sound source.

Returns:
A pointer to an AUD_IReader object or NULL if there has been an error.
Exceptions:
AUD_ExceptionAn exception may be thrown if there has been a more unexpected error during reader creation.

Implements AUD_IFactory.

Definition at line 40 of file AUD_DoubleFactory.cpp.

References AUD_IFactory::createReader().


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