Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

audiere::MultipleSoundEffect Class Reference

Inheritance diagram for audiere::MultipleSoundEffect:

Inheritance graph
[legend]
Collaboration diagram for audiere::MultipleSoundEffect:

Collaboration graph
[legend]
List of all members.

Public Methods

 MultipleSoundEffect (AudioDevice *device, SampleBuffer *sb)
void ADR_CALL play ()
void ADR_CALL stop ()

Constructor & Destructor Documentation

audiere::MultipleSoundEffect::MultipleSoundEffect AudioDevice   device,
SampleBuffer   sb
[inline]
 

Definition at line 35 of file sound_effect.cpp.


Member Function Documentation

void ADR_CALL audiere::MultipleSoundEffect::play   [inline, virtual]
 

Trigger playback of the sound. If the SoundEffect is of type SINGLE, this plays the sound if it isn't playing yet, and starts it again if it is. If the SoundEffect is of type MULTIPLE, play() simply starts playing the sound again.

Implements audiere::SoundEffect.

Definition at line 40 of file sound_effect.cpp.

References ADR_CALL, and audiere::OutputStream::play().

void ADR_CALL audiere::MultipleSoundEffect::stop   [inline, virtual]
 

If the sound is of type SINGLE, stop the sound. If it is of type MULTIPLE, stop all playing instances of the sound.

Implements audiere::SoundEffect.

Definition at line 60 of file sound_effect.cpp.

References ADR_CALL.


The documentation for this class was generated from the following file:
Generated on Sat Oct 12 01:44:09 2002 for audiere by doxygen1.2.17