Blender V2.61 - r43446
Public Member Functions

AUD_ChannelMapperFactory Class Reference

#include <AUD_ChannelMapperFactory.h>

Inheritance diagram for AUD_ChannelMapperFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUD_ChannelMapperFactory (AUD_Reference< AUD_IFactory > factory, AUD_DeviceSpecs specs)
virtual AUD_Reference
< AUD_IReader
createReader ()

Detailed Description

This factory creates a reader that maps a sound source's channels to a specific output channel count.

Definition at line 39 of file AUD_ChannelMapperFactory.h.


Constructor & Destructor Documentation

AUD_ChannelMapperFactory::AUD_ChannelMapperFactory ( AUD_Reference< AUD_IFactory factory,
AUD_DeviceSpecs  specs 
)

Creates a new factory.

Parameters:
factoryThe input factory.
specsThe target specifications.

Definition at line 35 of file AUD_ChannelMapperFactory.cpp.


Member Function Documentation

AUD_Reference< AUD_IReader > AUD_ChannelMapperFactory::createReader ( ) [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 41 of file AUD_ChannelMapperFactory.cpp.

References AUD_DeviceSpecs::channels, AUD_MixerFactory::getReader(), and AUD_MixerFactory::m_specs.

Referenced by AUD_readSound().


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