natiny_audio_source_set_spatial

C
void natiny_audio_source_set_spatial(NatinyAudioSource source, bool spatial);

Sets whether a source is positioned in the 3D world.

Parameters

Name Type Description
source NatinyAudioSource Source handle
spatial bool Whether to use spatial rendering

Example

C
natiny_audio_source_set_spatial(source, false);