|
Blender
V2.59
|
#include <AUD_MixerFactory.h>

Public Member Functions | |
| AUD_MixerFactory (AUD_IFactory *factory, AUD_DeviceSpecs specs) | |
| AUD_DeviceSpecs | getSpecs () const |
| AUD_IFactory * | getFactory () const |
Protected Member Functions | |
| AUD_IReader * | getReader () const |
Protected Attributes | |
| const AUD_DeviceSpecs | m_specs |
| AUD_IFactory * | m_factory |
This factory is a base class for all mixer factories.
Definition at line 40 of file AUD_MixerFactory.h.
| AUD_MixerFactory::AUD_MixerFactory | ( | AUD_IFactory * | factory, |
| AUD_DeviceSpecs | specs | ||
| ) |
Creates a new factory.
| factory | The factory to create the readers to mix out of. |
| specs | The target specification. |
Definition at line 40 of file AUD_MixerFactory.cpp.
| AUD_IFactory * AUD_MixerFactory::getFactory | ( | ) | const |
Returns the saved factory.
Definition at line 51 of file AUD_MixerFactory.cpp.
References m_factory.
| AUD_IReader * AUD_MixerFactory::getReader | ( | ) | const [protected] |
Returns the reader created out of the factory. This method can be used for the createReader function of the implementing classes.
Definition at line 35 of file AUD_MixerFactory.cpp.
References AUD_IFactory::createReader(), and m_factory.
Referenced by AUD_LinearResampleFactory::createReader(), AUD_SRCResampleFactory::createReader(), AUD_ConverterFactory::createReader(), and AUD_ChannelMapperFactory::createReader().
| AUD_DeviceSpecs AUD_MixerFactory::getSpecs | ( | ) | const |
Returns the target specification for resampling.
Definition at line 46 of file AUD_MixerFactory.cpp.
References m_specs.
AUD_IFactory* AUD_MixerFactory::m_factory [protected] |
If there is no reader it is created out of this factory.
Definition at line 51 of file AUD_MixerFactory.h.
Referenced by getFactory(), and getReader().
const AUD_DeviceSpecs AUD_MixerFactory::m_specs [protected] |
The target specification for resampling.
Definition at line 46 of file AUD_MixerFactory.h.
Referenced by AUD_LinearResampleFactory::createReader(), AUD_SRCResampleFactory::createReader(), AUD_ConverterFactory::createReader(), AUD_ChannelMapperFactory::getMapping(), and getSpecs().