audio_manager_is_hdmi_in_mirror_mode()

Determine whether the mirror mode of the HDMI settings is on.

Synopsis:

#include <audio/audio_manager_device.h>
 
int audio_manager_is_hdmi_in_mirror_mode(bool *mirror_mode)

Since:

BlackBerry 10.0.0

Arguments:

mirror_mode

A pointer that's returned to indicate whether the HDMI is in mirror mode. A value of true indicates that the the system is in HDMI mirror mode, a value false otherwise.

Library:

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

Description:

The audio_manager_is_hdmi_in_mirror_mode() function checks whether the HDMI is currently set to mirror mode.

Returns:

EOK upon success, a negative errno upon failure. The errno values are available in the errno.h file.