Expand description
Audio playback primitives for GPUI.
Structs§
- Audio
Handle - A clonable controller for audio playback.
- Media
Decoder - A file-backed decoder for media metadata and video frames.
- Video
Frame - A decoded video frame in BGRA format.
- Video
Frame Stream - A sequential decoder for file-backed video frames.
- Video
Metadata - Metadata for a decoded video stream.
Enums§
- Audio
Playback Error - An error that can occur while preparing or controlling audio playback.
- Media
Decode Error - An error that can occur while decoding video content.
- Media
Source - A source of media content that can be played back.
- Playback
State - The current playback state for a media handle.
Functions§
- probe_
audio_ duration - Probe the total duration for an audio source without constructing a playback handle.