write
Writes the audio data from an AudioSource to a file in the specified format.
Parameters
audioDataSource
The buffer containing the raw audio samples and format info.
Throws
if the format cannot be encoded.
if a filesystem-level error occurs.
Writes the audio data from an AudioSource to a file in the specified format.
The buffer containing the raw audio samples and format info.
if the format cannot be encoded.
if a filesystem-level error occurs.