![]() |
VISR
0.11.1
Versatile Interactive Scene Renderer
|
Classes | |
struct | IdToType |
struct | TypeToId |
Enumerations | |
enum | Id { floatId = 0, doubleId = 1, longDoubleId = 2, uint8Id = 3, int8Id = 4, uint16Id = 5, int16Id = 6, uint32Id = 7, int32Id = 8, complexFloatId = 9, complexDoubleId = 10 } |
Functions | |
std::size_t | typeSize (Id id) |
Namespace that encapsulates functionality about the different types of audio samples.
Enumeration for the different sample types. This list can be extended, but the type must be registered with the VISR_AUDIO_SAMPLE_TYPE_DEFINITION macro and in the typeSize() function in the implementation file.
std::size_t visr::AudioSampleType::typeSize | ( | Id | id | ) |
Runtime function to query the element size for a type id at runtime.