OptionalClockTime source. Default: SystemPumpClock.
OptionalDuckThe music's level while a clip plays, 0–1. Default 0.15.
OptionalDuckHow long the music takes to fade down for a clip (and back up after), in ms. Default 150.
OptionalFrameFrame duration in ms. Default 20.
OptionalLeadHow far ahead of real time the pump keeps the sink, in ms. Default 150.
OptionalLoopLoop Music forever. Default true.
Mono PCM16 to play, at SampleRate. Must not be empty.
OptionalOnCalled once when the pump stops, with the reason.
Receives each frame. Every frame is a freshly allocated array the sink may keep.
Construction options for PcmFramePump.