Function in ldk_audio_source.h

ldk_audio_source_is_playing

Check whether the audio source is playing.

LDK_API bool ldk_audio_source_is_playing(LDKEntity entity);

Parameters

LDKEntity entity
Entity to inspect or modify.

Returns

True when the queried condition holds; false otherwise.

Function in ldk_audio_source.h

ldk_audio_source_play

Start playback of the audio source.

LDK_API bool ldk_audio_source_play(LDKEntity entity);

Parameters

LDKEntity entity
Entity to inspect or modify.

Returns

True if the operation succeeds; false otherwise.