natiny_audio_source_get_clip
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
NatinyClip clip = natiny_audio_source_get_clip(source);