Blender V2.61 - r43446
Public Member Functions

AUD_ConverterFactory Class Reference

#include <AUD_ConverterFactory.h>

Inheritance diagram for AUD_ConverterFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

This factory creates a converter reader that is able to convert from one audio format to another.

Definition at line 39 of file AUD_ConverterFactory.h.


Constructor & Destructor Documentation

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

Creates a new factory.

Parameters:
factoryThe input factory.
specsThe target specifications.

Definition at line 33 of file AUD_ConverterFactory.cpp.


Member Function Documentation

AUD_Reference< AUD_IReader > AUD_ConverterFactory::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 39 of file AUD_ConverterFactory.cpp.

References AUD_FORMAT_FLOAT32, AUD_DeviceSpecs::format, AUD_MixerFactory::getReader(), and AUD_MixerFactory::m_specs.


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