Retrieve the errno from the SOUNDPLAYER_INFO event.
#include <bps/soundplayer.h>
BPS_API int soundplayer_event_get_errno(bps_event_t *event)
BlackBerry 10.2.0
The SOUNDPLAYER_INFO event to extract the errno from.
The soundplayer_event_get_error() function extracts the error number from the specified SOUNDPLAYER_INFO event. This is the POSIX standard error number that corresponds to the Sound Player-specific error in the event. This is the same value that the functions soundplayer_prepare_sound(), soundplayer_play_sound(), and soundplayer_play_sound_blocking() would set errno to under the same conditions.
The errno, one of the POSIX standard error numbers, or BPS_FAILURE with errno value set on error.