Flutter Sound Helpers API
pcmToWaveBuffer()
pcmToWaveBuffer()
This verb is usefull to convert a Raw PCM buffer to a Wave buffer.
It adds a Wave envelop in front of the PCM buffer, so that the file can be played back with startPlayerFromBuffer().
Note: the parameters numChannels and sampleRate are mandatory, and must match the actual PCM data. a discussion about Raw PCM and WAVE file format.
Example:
</div>