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

Method getDataLength

Engine/source/sfx/sfxFileStream.h:110–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 const SFXFormat& getFormat() const { return mFormat; }
109 U32 getSampleCount() const { return mSamples; }
110 U32 getDataLength() const { return mSamples * mFormat.getBytesPerSample(); }
111 U32 getDuration() const { return mFormat.getDuration( mSamples ); }
112 bool isEOS() const;
113};

Callers

nothing calls this directly

Calls 1

getBytesPerSampleMethod · 0.80

Tested by

no test coverage detected