iaudio 0.1.0
Contrat audio chargeable : IAudioModule
Loading...
Searching...
No Matches
ISoundBuffer.hpp
Go to the documentation of this file.
1
11#ifndef ISOUNDBUFFER_HPP_
12 #define ISOUNDBUFFER_HPP_
13
14namespace audio {
15
25
26 public:
27
28 virtual ~ISoundBuffer() = default;
29
35 virtual bool isReady() const = 0;
36
42 virtual float getLength() const = 0;
43 };
44
45}
46
49#endif /* !ISOUNDBUFFER_HPP_ */
Loaded audio samples, independent of any ISound that plays them - deleting every ISound built from a ...
Definition ISoundBuffer.hpp:24
virtual bool isReady() const =0
notice if the buffer is ready
virtual ~ISoundBuffer()=default
virtual float getLength() const =0
Get the Length of the buffered sound, in seconds.
Definition IMusic.hpp:17