ldk_audio_sound_play
Convenience path-based playback. The path is resolved through the asset
manager and then played as a shared LDKAssetAudio.
LDK_API LDKAudioVoice ldk_audio_sound_play(
LDKAudio *audio,
const char *path
);
Parameters
LDKAudio *audio
- Audio used by this operation.
const char *path
- Path identifying the file or resource.
Returns
The requested value.
ldk_audio_sound_play_ex
Play a sound using the supplied playback options.
LDK_API LDKAudioVoice ldk_audio_sound_play_ex(
LDKAudio *audio,
const char *path,
const LDKAudioPlayDesc *desc
);
Parameters
LDKAudio *audio
- Audio used by this operation.
const char *path
- Path identifying the file or resource.
const LDKAudioPlayDesc *desc
- Description or configuration for this operation.
Returns
The requested value.