![]() |
nomlib
|
Public Types | |
| typedef ISoundSource | super |
Public Member Functions | |
| ALSoundSource (Sound *s) | |
| virtual void | reset () override |
| OALSource * | source () override |
| void | set_sound (Sound *s) override |
| void | attach_source (OALSource *s) override |
| void | detach_source () override |
| virtual void | update (nom::real32 delta) override |
| void | set_volume (nom::real32 gain) override |
| Public Member Functions inherited from nom::audio::ISoundSource | |
| Sound * | sound () |
| SoundPriority | priority () |
| nom::uint32 | state () |
| nom::real32 | volume () |
| nom::real32 | pitch () |
| nom::real32 | radius () |
| bool | looping () |
| bool | global () |
| nom::real64 | time_left () |
| nom::Point3f & | position () |
| void | set_priority (SoundPriority p) |
| void | set_pitch (nom::real32 pitch) |
| void | set_looping (bool state) |
| void | set_radius (nom::real32 value) |
| void | set_global (bool state) |
| void | set_position (const nom::Point3f &pos) |
| void | set_position (nom::real32 x, nom::real32 y, nom::real32 z) |
Static Public Member Functions | |
| static bool | compare (ISoundSource *lhs, ISoundSource *rhs) |
Protected Attributes | |
| OALSource * | oalSource_ |
| nom::real64 | stream_pos_ |
| nom::uint32 | stream_buffers_ [NUM_STREAM_BUFFERS] |
| nom::real64 | stream_buffer_durations_ [NUM_STREAM_BUFFERS] |
| Protected Attributes inherited from nom::audio::ISoundSource | |
| Sound * | sound_ |
| SoundPriority | priority_ |
| nom::uint32 | state_ |
| nom::real32 | volume_ |
| nom::real32 | pitch_ |
| nom::real32 | radius_ |
| bool | looping_ |
| bool | global_ |
| nom::real64 | time_left_ |
| nom::Point3f | position_ |
Private Member Functions | |
| void | update_state (nom::real32 delta) override |
Definition at line 17 of file ALSoundSource.hpp.
| typedef ISoundSource nom::audio::ALSoundSource::super |
Definition at line 20 of file ALSoundSource.hpp.
|
overridevirtual |
Implements nom::audio::ISoundSource.
|
overridevirtual |
Implements nom::audio::ISoundSource.
|
overridevirtual |
Reimplemented from nom::audio::ISoundSource.
|
overridevirtual |
Implements nom::audio::ISoundSource.
|
overridevirtual |
Reimplemented from nom::audio::ISoundSource.
|
overridevirtual |
Implements nom::audio::ISoundSource.
|
overridevirtual |
Implements nom::audio::ISoundSource.
|
overrideprivatevirtual |
Implements nom::audio::ISoundSource.
|
protected |
Definition at line 44 of file ALSoundSource.hpp.
|
protected |
Definition at line 48 of file ALSoundSource.hpp.
|
protected |
Definition at line 47 of file ALSoundSource.hpp.
|
protected |
Definition at line 46 of file ALSoundSource.hpp.