AUDIO
Source snapshot · 11 November 2026

API reference / ravet_audio_file::IndexedPlaybackReader

Trait IndexedPlaybackReader 

pub trait IndexedPlaybackReader: PlaybackReader {
    // Required method
    fn seek_original_frame(&mut self, frame: u64) -> Result<(), Error>;
}
Expand description

Explicit indexed original-frame positioning for known-duration PCM readers. Implementations report stable known duration and exact original coordinates. Seek/read work belongs off audio. Successful seek sets exactly the requested logical frame; failure exposes its actual committed position and original error. This does not promise a filesystem deadline or authenticate skipped regions. WAV/AIFF defer physical seeking to their next read. No compressed impl exists.

Required Methods§

fn seek_original_frame(&mut self, frame: u64) -> Result<(), Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§