Blender V2.61 - r43446
|
#include <AUD_VolumeFactory.h>
Public Member Functions | |
AUD_VolumeFactory (AUD_Reference< AUD_IFactory > factory, float volume) | |
float | getVolume () const |
virtual AUD_Reference < AUD_IReader > | createReader () |
This factory changes the volume of another factory. The set volume should be a value between 0.0 and 1.0, higher values at your own risk!
Definition at line 40 of file AUD_VolumeFactory.h.
AUD_VolumeFactory::AUD_VolumeFactory | ( | AUD_Reference< AUD_IFactory > | factory, |
float | volume | ||
) |
Creates a new volume factory.
factory | The input factory. |
volume | The desired volume. |
Definition at line 33 of file AUD_VolumeFactory.cpp.
AUD_Reference< AUD_IReader > AUD_VolumeFactory::createReader | ( | ) | [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 44 of file AUD_VolumeFactory.cpp.
References AUD_EffectFactory::getReader().
float AUD_VolumeFactory::getVolume | ( | ) | const |
Returns the volume.
Definition at line 39 of file AUD_VolumeFactory.cpp.