|
SDL3pp
A slim C++ wrapper for SDL3
|
Public Member Functions | |
| constexpr | AudioFormat (AudioFormatRaw audioFormat={}) noexcept |
| Wraps AudioFormat. More... | |
| constexpr | AudioFormat (bool sign, bool bigendian, bool flt, Uint16 size) |
| Define an AudioFormat value. More... | |
| constexpr | operator AudioFormatRaw () const noexcept |
| Unwraps to the underlying AudioFormat. More... | |
| constexpr Uint16 | GetBitSize () const |
| Retrieve the size, in bits, from an AudioFormat. More... | |
| constexpr Uint16 | GetByteSize () const |
| Retrieve the size, in bytes, from an AudioFormat. More... | |
| constexpr bool | IsFloat () const |
| Determine if an AudioFormat represents floating point data. More... | |
| constexpr bool | IsBigEndian () const |
| Determine if an AudioFormat represents bigendian data. More... | |
| constexpr bool | IsLittleEndian () const |
| Determine if an AudioFormat represents littleendian data. More... | |
| constexpr bool | IsSigned () const |
| Determine if an AudioFormat represents signed data. More... | |
| constexpr bool | IsInt () const |
| Determine if an AudioFormat represents integer data. More... | |
| constexpr bool | IsUnsigned () const |
| Determine if an AudioFormat represents unsigned data. More... | |
| const char * | GetName () const |
| Get the human readable name of an audio format. More... | |
| int | GetSilenceValue () const |
| Get the appropriate memset value for silencing an audio format. More... | |
|
inlineconstexprnoexcept |
| audioFormat | the value to be wrapped |
|
inlineconstexprnoexcept |