natiny_audio_source_get_clip

C
NatinyClip natiny_audio_source_get_clip(NatinyAudioSource source);

Returns the clip a source plays.

Parameters

Name Type Description
source NatinyAudioSource Source handle

Returns

Type Description
NatinyClip Clip handle, or 0 when the source has none

Example

C
NatinyClip clip = natiny_audio_source_get_clip(source);