Public Member Functions | |
DummySoundSource () | |
virtual | ~DummySoundSource () |
virtual void | play () |
virtual void | stop () |
virtual bool | playing () |
virtual void | set_looping (bool) |
virtual void | set_relative (bool) |
virtual void | set_gain (float) |
Set volume (0.0 is silent, 1.0 is normal). | |
virtual void | set_pitch (float) |
virtual void | set_position (const Vector &) |
virtual void | set_velocity (const Vector &) |
virtual void | set_reference_distance (float) |
Private Attributes | |
bool | is_playing |
Definition at line 19 of file dummy_sound_source.cpp.
DummySoundSource::DummySoundSource | ( | ) | [inline] |
Definition at line 22 of file dummy_sound_source.cpp.
00022 : 00023 is_playing() 00024 {} virtual ~DummySoundSource()
virtual DummySoundSource::~DummySoundSource | ( | ) | [inline, virtual] |
virtual void DummySoundSource::play | ( | ) | [inline, virtual] |
Implements SoundSource.
Definition at line 28 of file dummy_sound_source.cpp.
References is_playing.
00029 { 00030 is_playing = true; 00031 }
virtual void DummySoundSource::stop | ( | ) | [inline, virtual] |
Implements SoundSource.
Definition at line 33 of file dummy_sound_source.cpp.
References is_playing.
00034 { 00035 is_playing = false; 00036 }
virtual bool DummySoundSource::playing | ( | ) | [inline, virtual] |
Implements SoundSource.
Definition at line 38 of file dummy_sound_source.cpp.
References is_playing.
00039 { 00040 return is_playing; 00041 }
virtual void DummySoundSource::set_looping | ( | bool | ) | [inline, virtual] |
virtual void DummySoundSource::set_relative | ( | bool | ) | [inline, virtual] |
virtual void DummySoundSource::set_gain | ( | float | ) | [inline, virtual] |
Set volume (0.0 is silent, 1.0 is normal).
Implements SoundSource.
Definition at line 51 of file dummy_sound_source.cpp.
virtual void DummySoundSource::set_pitch | ( | float | ) | [inline, virtual] |
virtual void DummySoundSource::set_position | ( | const Vector & | ) | [inline, virtual] |
virtual void DummySoundSource::set_velocity | ( | const Vector & | ) | [inline, virtual] |
virtual void DummySoundSource::set_reference_distance | ( | float | ) | [inline, virtual] |
bool DummySoundSource::is_playing [private] |