Retrieve the error from the SOUNDPLAYER_INFO event.
#include <bps/soundplayer.h>
BPS_API int soundplayer_event_get_error(bps_event_t *event)
BlackBerry 10.2.0
The SOUNDPLAYER_INFO event to extract the error from.
The soundplayer_event_get_error() function extracts the error from the specified SOUNDPLAYER_INFO event.
The error, one of the values of the soundplayer_error_t enumeration, or BPS_FAILURE with errno value set on error.