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

Public Member Functions | |
| AUD_ChannelMapperFactory (AUD_IFactory *factory, AUD_DeviceSpecs specs) | |
| virtual | ~AUD_ChannelMapperFactory () |
| float ** | getMapping (int ic) |
| void | deleteMapping (int ic) |
| virtual AUD_IReader * | createReader () const |
This factory creates a reader that maps a sound source's channels to a specific output channel count.
Definition at line 41 of file AUD_ChannelMapperFactory.h.
| AUD_ChannelMapperFactory::AUD_ChannelMapperFactory | ( | AUD_IFactory * | factory, |
| AUD_DeviceSpecs | specs | ||
| ) |
Definition at line 37 of file AUD_ChannelMapperFactory.cpp.
| AUD_ChannelMapperFactory::~AUD_ChannelMapperFactory | ( | ) | [virtual] |
Definition at line 44 of file AUD_ChannelMapperFactory.cpp.
References deleteMapping(), and i.
| AUD_IReader * AUD_ChannelMapperFactory::createReader | ( | ) | const [virtual] |
Creates a reader for playback of the sound source.
| AUD_Exception | An exception may be thrown if there has been a more unexpected error during reader creation. |
Implements AUD_IFactory.
Definition at line 105 of file AUD_ChannelMapperFactory.cpp.
References AUD_Specs::channels, getMapping(), AUD_MixerFactory::getReader(), and AUD_IReader::getSpecs().
Referenced by AUD_readSound().
| void AUD_ChannelMapperFactory::deleteMapping | ( | int | ic | ) |
Deletes the current channel mapping.
Definition at line 83 of file AUD_ChannelMapperFactory.cpp.
References i.
Referenced by getMapping(), and ~AUD_ChannelMapperFactory().
| float ** AUD_ChannelMapperFactory::getMapping | ( | int | ic | ) |
Returns the mapping array for editing.
| ic | The count of input channels the array should have. |
Definition at line 50 of file AUD_ChannelMapperFactory.cpp.
References AUD_DeviceSpecs::channels, deleteMapping(), i, and AUD_MixerFactory::m_specs.
Referenced by createReader(), and AUD_DefaultMixer::prepare().