natiny_audio_source_get_playing

C
bool natiny_audio_source_get_playing(NatinyAudioSource source);

Reports whether a source is playing.

Parameters

Name Type Description
source NatinyAudioSource Source handle

Returns

Type Description
bool true while the source is playing

Example

C
bool playing = natiny_audio_source_get_playing(source);