Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ k4a_device_get_sync_jack()

k4a_result_t k4a_device_get_sync_jack ( k4a_device_t  device_handle,
bool *  sync_in_jack_connected,
bool *  sync_out_jack_connected 
)
related

Get the device jack status for the synchronization in and synchronization out connectors.

Parameters
device_handleHandle obtained by k4a_device_open().
sync_in_jack_connectedUpon successful return this value will be set to true if a cable is connected to this sync in jack.
sync_out_jack_connectedUpon successful return this value will be set to true if a cable is connected to this sync out jack.
Returns
K4A_RESULT_SUCCEEDED if the connector status was successfully read.
Remarks
If sync_out_jack_connected is true then k4a_device_configuration_t wired_sync_mode mode can be set to K4A_WIRED_SYNC_MODE_STANDALONE or K4A_WIRED_SYNC_MODE_MASTER. If sync_in_jack_connected is true then k4a_device_configuration_t wired_sync_mode mode can be set to K4A_WIRED_SYNC_MODE_STANDALONE or K4A_WIRED_SYNC_MODE_SUBORDINATE.
See also
k4a_device_start_cameras()