ReadonlydestinationReadonlyprocessorsevery script processor made, in order
ReadonlysampleReadonlysourcesevery buffer source made, in order, with when it was asked to start
moves the clock and ends every started source whose scheduled end has passed
the double typed as the context the code under test expects
A WebAudio double whose clock only moves when a test moves it. It records every buffer source that was started and ends them as
advance()passes their end time, which is exactly the part of anAudioContexta streaming voice depends on (the clock, scheduled starts, theonendedof a source) and nothing else.Example