MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getBytesPerSample

Method getBytesPerSample

Engine/source/sfx/sfxCommon.h:293–293  ·  view source on GitHub ↗

The number of bytes of data per sample. @note Be aware that this comprises all channels.

Source from the content-addressed store, hash-verified

291 /// The number of bytes of data per sample.
292 /// @note Be aware that this comprises all channels.
293 U8 getBytesPerSample() const { return mBitsPerSample / 8; }
294
295 /// Returns the duration from the sample count.
296 U32 getDuration( U32 samples ) const

Callers 15

_resetStreamMethod · 0.80
readMethod · 0.80
getSampleCountMethod · 0.80
getPacketDurationMethod · 0.80
getSamplePosMethod · 0.80
getDataLengthMethod · 0.80
SFXAsyncStreamMethod · 0.80
getPositionMethod · 0.80
setPositionMethod · 0.80
_readHeaderMethod · 0.80
setPositionMethod · 0.80
readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected