audio_manager_set_hdmi_mirror_mode()

Set HDMI audio in mirror mode.

Synopsis:

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

Arguments:

mirror_mode

true if the HDMI is to be put in mirror mode, false otherwise.

Library:

libaudio_manager

Description:

The audio_manager_set_hdmi_mirror_mode() function puts the HDMI audio in mirror mode, which routes audio automatically to the HDMI.

A process must have either an effective user ID of root, or the authman capability of access_audio_manager, to use this function.

Note that this function is intended for use by system components. Therefore, it is not suitable for all applications

Returns:

EOK upon success, negative errno upon failure.