mmrenderer_event_get_volume()

Get the audio volume from an MMRENDERER_STATUS_UPDATE event.

Synopsis:

#include <bps/mmrenderer.h>
 
BPS_API const char* mmrenderer_event_get_volume(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The MMRENDERER_STATUS_UPDATE event to get the audio volume from.

Library:

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

Description:

The mmrenderer_event_get_volume() function gets the audio volume from the specified MMRENDERER_STATUS_UPDATE event.

Returns:

A string that represents the volume (in the form current/max), or NULL if the context has not reported a volume (volume is only reported during audio recording). This pointer is valid until you destroy the event.