|
P-E-R-R-Y
Utilitaires, contrats et vendors du moteur, en une seule doc
|
Loaded audio samples, independent of any ISound that plays them - deleting every ISound built from a buffer does not delete the buffer, only deleteSoundBuffer() does. Not used by IMusic, which streams from disk instead of loading a full buffer, so there's nothing to share there. More...
#include <ISoundBuffer.hpp>

Public Member Functions | |
| virtual | ~ISoundBuffer ()=default |
| virtual bool | isReady () const =0 |
| notice if the buffer is ready | |
| virtual float | getLength () const =0 |
| Get the Length of the buffered sound, in seconds. | |
Loaded audio samples, independent of any ISound that plays them - deleting every ISound built from a buffer does not delete the buffer, only deleteSoundBuffer() does. Not used by IMusic, which streams from disk instead of loading a full buffer, so there's nothing to share there.
|
virtualdefault |
|
pure virtual |
Get the Length of the buffered sound, in seconds.
Implemented in RaySoundBuffer, SdlSoundBuffer, SdlSoundBuffer, and SfmlSoundBuffer.
|
pure virtual |
notice if the buffer is ready
Implemented in RaySoundBuffer, SdlSoundBuffer, SdlSoundBuffer, and SfmlSoundBuffer.