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

Method getChannels

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

Returns the number of sound channels.

Source from the content-addressed store, hash-verified

266
267 /// Returns the number of sound channels.
268 U8 getChannels() const { return mChannels; }
269
270 /// Returns true if there is a single sound channel.
271 bool isMono() const { return mChannels == 1; }

Callers 5

setFileMethod · 0.45
_createBufferMethod · 0.45
_createBufferMethod · 0.45
_sfxFormatToALFormatMethod · 0.45
sfxFormatToWAVEFORMATEXFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected