soundplayer_event_get_error()

Retrieve the error from the SOUNDPLAYER_INFO event.

Synopsis:

#include <bps/soundplayer.h>
 
BPS_API int soundplayer_event_get_error(bps_event_t *event)

Since:

BlackBerry 10.2.0

Arguments:

event

The SOUNDPLAYER_INFO event to extract the error from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The soundplayer_event_get_error() function extracts the error from the specified SOUNDPLAYER_INFO event.

Returns:

The error, one of the values of the soundplayer_error_t enumeration, or BPS_FAILURE with errno value set on error.