Protected_Protected_Place data to the destination buffer, starting from the position
Place data from the source to the channel, starting (in self) from the position
Return data associated with the channel.
StaticfromCreate a new XAudioBuffer by copying data from an existing AudioBuffer.
An implementation of AudioBuffer as seen in the Web Audio API. The AudioBuffer in Web Audio is tied to the browser, and only recently it became possible to instantiate an AudioBuffer without a Web Audio Context. This implementation allows for a fully WebAudio-free player, while still allowing for easy interop with the Web Audio API when needed when still in a browser environment.
Originally from https://github.com/audiojs/audio-buffer/, MIT Licensed. Converted to TS. https://github.com/audiojs/audio-buffer/blob/master/LICENSE