Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Sound::Event Class Reference

#include <Sound.h>

Inheritance diagram for Sound::Event:
Inheritance graph
[legend]

Public Member Functions

 Event ()
 
 Event (Uint32 id)
 
virtual void Play (const char *fx, const float volume_left, const float volume_right, Op op)
 
void Play (const char *fx)
 
bool Stop ()
 
bool IsPlaying () const
 
Uint32 EventId ()
 
bool SetOp (Op op)
 
bool VolumeAnimate (const float targetVol1, const float targetVol2, const float dv_dt1, const float dv_dt2)
 
bool VolumeAnimate (const float targetVols[2], const float dv_dt[2])
 
bool SetVolume (const float vol_left, const float vol_right)
 
bool SetVolume (const float vol)
 

Protected Attributes

Uint32 eid
 

Constructor & Destructor Documentation

◆ Event() [1/2]

Sound::Event::Event ( )
inline

◆ Event() [2/2]

Sound::Event::Event ( Uint32  id)
inline

Member Function Documentation

◆ EventId()

Uint32 Sound::Event::EventId ( )
inline

◆ IsPlaying()

bool Sound::Event::IsPlaying ( ) const

◆ Play() [1/2]

void Sound::Event::Play ( const char *  fx)
inline
Here is the call graph for this function:

◆ Play() [2/2]

void Sound::Event::Play ( const char *  fx,
const float  volume_left,
const float  volume_right,
Op  op 
)
virtual

Reimplemented in Sound::MusicEvent.

Here is the call graph for this function:

◆ SetOp()

bool Sound::Event::SetOp ( Op  op)

◆ SetVolume() [1/2]

bool Sound::Event::SetVolume ( const float  vol)
inline
Here is the call graph for this function:

◆ SetVolume() [2/2]

bool Sound::Event::SetVolume ( const float  vol_left,
const float  vol_right 
)

◆ Stop()

bool Sound::Event::Stop ( )

◆ VolumeAnimate() [1/2]

bool Sound::Event::VolumeAnimate ( const float  targetVol1,
const float  targetVol2,
const float  dv_dt1,
const float  dv_dt2 
)

◆ VolumeAnimate() [2/2]

bool Sound::Event::VolumeAnimate ( const float  targetVols[2],
const float  dv_dt[2] 
)
inline
Here is the call graph for this function:

Member Data Documentation

◆ eid

Uint32 Sound::Event::eid
protected

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