std.audio.BytesPerSample - nitrologic/monkey2 GitHub Wiki

std::std.audio.BytesPerSample

Function BytesPerSample:monkey:monkey.types.Int( format:std:std.audio.AudioFormat )

Number of bytes per audio sample.

Returns the number of bytes per audio sample for the given audio format.

Parameters
format format The audio format.