Embedded Audio Source
Constructs an embedded audio source with data served from a DataProvider.
Parameters
Provider for audio data that should be saved in the document. Expects audio data stored in Big-endian with interleaved channels.
Sample rate of the audio data in Hz.
Number of channels in the audio data.
The optional description of the audio data. If set, this will be set as Contents on the created sound annotation (setContents).
Constructs an embedded audio source with data served from memory.
Parameters
Audio data that should be saved in the document. Expects audio data stored in Big-endian with interleaved channels.
Sample rate of the audio data in Hz.
Number of channels in the audio data.
The optional description of the audio data. If set, this will be set as Contents on the created sound annotation (setContents).