Engine → Audio → clip_asset.h
clip_blob_header
| Type | Struct |
| Namespace | conjure::audio |
| Include File Path | engine/include/conjure/audio/clip_asset.h |
| Source File Path | engine/src/audio/clip_asset.cpp |
| API ↗ | Clips and decoding |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | channels | u8 | 0 | |
| public | dataBytes | u64 | 0 | |
| public | encoding | u8 | 0 | |
| public | frameCount | u64 | 0 | |
| public | magic | std::array<char, 4> | {'C', | |
| public | reserved | u8 | 0 | |
| public | sampleRate | u32 | 0 | |
| public | storage | u8 | 0 | |
| public | version | u32 | CLIP_ |
Functions
Public
expected_magic
expected_magic[[nodiscard]] static constexpr std::array<char, 4> expected_magic() noexcept;The magic every valid header carries.