std:std.audio.BytesPerSample

Function BytesPerSample:Int( format: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.