#include <sound.h>
Inheritance diagram for Sound:

Public Member Functions | |
| virtual short | nextSample (double fragPos) |
| virtual void | startFill () |
| virtual StereoSample | nextStereoSample (double fragPos) |
| virtual void | play () |
| virtual void | playVelocity (double v) |
| virtual void | stop () |
| int | isActive () |
| void | setFreq (double f) |
| void | setVol (double v) |
| void | setVelocity (double v) |
| void | setPos (v3f p) |
| int | isPlaying () |
| Sound () | |
Protected Attributes | |
| int | active |
| int | starting |
| int | stereo |
| v3f | pos |
| int | positional |
| double | lpf_alpha |
| double | lpf_beta |
| double | lpf_x1 |
| double | lpf_y1 |
| double | currentFreq |
| double | targetFreq |
| double | currentVol |
| double | targetVol |
| double | currentVelocity |
| double | targetVelocity |
| double | currentAttLeft |
| double | targetAttLeft |
| double | currentAttRight |
| double | targetAttRight |
Friends | |
| class | AudioServer |
| void | fillAudio (void *udata, Uint8 *stream, int len) |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in SoundSynth, SoundWave, and SoundOgg. |
|
|
|
|
|
Reimplemented in SoundSynth, SoundWave, and SoundOgg. |
|
|
Reimplemented in SoundSynth, and SoundWave. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in SoundWave. |
|
|
Reimplemented in SoundSynth, SoundWave, and SoundOgg. |
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.2