audio_clip
| Type | Struct |
| Namespace | conjure::audio |
| Include File Path | engine/include/conjure/audio/clip.h |
| Source File Path | engine/src/audio/clip.cpp |
| API ↗ | Clips and decoding |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | encoded | std:: | nullptr | |
| public | info | clip_info | {} | |
| public | pcm | std:: | nullptr |
Functions
Public
duration_seconds
duration_seconds[[nodiscard]] f64 duration_seconds() const noexcept;Duration in seconds from info.
is_streamed
is_streamed[[nodiscard]] bool is_streamed() const noexcept;True when the clip decodes while playing instead of holding PCM.