|
CeresEngine 0.2.0
A game development framework
|
A audio resource. More...
#include <CeresEngine/Audio/AudioResource.hpp>
Additional Inherited Members | |
Public Types inherited from CeresEngine::AbstractAudioResource | |
| using | Sample = unsigned short |
| A audio sample type. | |
| using | Samples = Vector< Sample > |
| A collection of multiple audio samples. | |
| using | SampleIndex = unsigned int |
| A type representing the index of a sample. | |
| using | SampleOffset = int |
| A type representing a sample offset. | |
Public Member Functions inherited from CeresEngine::AbstractAudioResource | |
| virtual | ~AbstractAudioResource ()=default |
| virtual const AudioMetadata & | getMetadata () const =0 |
| virtual AudioResourceType | getType () const =0 |
| bool | isClip () const |
| AudioClip & | asClip () |
| const AudioClip & | asClip () const |
| bool | isStream () const |
| AudioStream & | asStream () |
| const AudioStream & | asStream () const |
A audio resource.
This resource can be templated on T with a audio resource specialization
| T | the specialized audio resource type |
| S | the audio sample type |