MCPcopy Create free account
hub / github.com/PerroEngine/Perro / append_with_trims

Function append_with_trims

perro_source/audio_stack/perro_pawdio/src/player.rs:1876–1904  ·  view source on GitHub ↗

Shared append tail for both the PCM and streaming decode paths: apply trim (and optional take/loop) then route through the DSP chain into the sink.

(
    sink: &SpatialSink,
    source: S,
    dsp: Arc<DspControl>,
    trim_start: Duration,
    play_duration: Option<Duration>,
    looped: bool,
)

Source from the content-addressed store, hash-verified

Callers 1

play_sourceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected