OptionalcueCue subsong index, 0-based; takes precedence over a subsong in path.
OptionalendEnd of the range, in seconds; defaults to the end of the track and is cut to the track length. Must be greater than start.
OptionalmonoAverage all channels into one.
OptionalsampleSample rate to convert to with foobar2000's resampler; defaults to the source rate.
OptionalsignalAborting cancels the host task and rejects with a DOMException named AbortError.
OptionalstartStart of the range, in seconds.
OptionaltimeoutMilliseconds to wait for the result, queueing included, before cancelling
the host task and rejecting with code TIMEOUT; 0 waits forever.
Defaults to DECODE_PCM_TIMEOUT_MS.
Options of decodePcm; the range and format fields go to the host.