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

Public Member Functions | |
| AUD_VolumeFactory (AUD_IFactory *factory, float volume) | |
| float | getVolume () const |
| virtual AUD_IReader * | createReader () const |
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 42 of file AUD_VolumeFactory.h.
| AUD_VolumeFactory::AUD_VolumeFactory | ( | AUD_IFactory * | factory, |
| float | volume | ||
| ) |
Creates a new volume factory.
| factory | The input factory. |
| volume | The desired volume. |
Definition at line 35 of file AUD_VolumeFactory.cpp.
| AUD_IReader * AUD_VolumeFactory::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 46 of file AUD_VolumeFactory.cpp.
References AUD_EffectFactory::getReader().
| float AUD_VolumeFactory::getVolume | ( | ) | const |
Returns the volume.
Definition at line 41 of file AUD_VolumeFactory.cpp.