C4 Engine
C4 Engine API Documentation

SourceObject::GetSourceType

Defined in:  C4Sources.h
Returns the specific type of a source.
Prototype

SourceType GetSourceType(voidconst;

Description
The GetSourceType function returns the specific source type, which can be one of the following constants.
kSourceAmbient Ambient sound source.
kSourceOmni Omnidirectional sound source.
kSourceDirected Directed sound source.