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

Method getNumSamples

Engine/source/sfx/sfxBuffer.h:200–200  ·  view source on GitHub ↗

@return The total number of samples in the buffer.

Source from the content-addressed store, hash-verified

198
199 /// @return The total number of samples in the buffer.
200 U32 getNumSamples() const { return getFormat().getSampleCount( mDuration ); }
201
202 /// @return The number of bytes consumed by this sound buffer.
203 virtual U32 getMemoryUsed() const { return 0; }

Callers 2

getPositionMethod · 0.80
_loadNonStreamedMethod · 0.80

Calls 1

getSampleCountMethod · 0.45

Tested by

no test coverage detected