Prepare a system sound to be played.
#include <bps/soundplayer.h>
BPS_API int soundplayer_prepare_sound(const char *name)
BlackBerry 10.2.0
The name of the system sound to be prepared.
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().
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.