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