natiny_audio_source_get_playing
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
bool playing = natiny_audio_source_get_playing(source);