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>
|
| 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.
◆ ~ISoundBuffer()
| virtual audio::ISoundBuffer::~ISoundBuffer |
( |
| ) |
|
|
virtualdefault |
◆ getLength()
| virtual float audio::ISoundBuffer::getLength |
( |
| ) |
const |
|
pure virtual |
Get the Length of the buffered sound, in seconds.
- Returns
- float
◆ isReady()
| virtual bool audio::ISoundBuffer::isReady |
( |
| ) |
const |
|
pure virtual |
notice if the buffer is ready
- Returns
- bool
The documentation for this interface was generated from the following file: