soundplayer_prepare_sound()
Prepare a system sound to be played.
Synopsis:
#include <bps/soundplayer.h>
BPS_API int soundplayer_prepare_sound(const char *name)
Arguments:
- name
-
The name of the system sound to be prepared.
Library:
libbpsDescription:
The soundplayer_prepare_sound() function prepares the specified system sound to be played.
Calling this function is optional, but may greatly improve the response time of soundplayer_play_sound().
Returns:
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.