Azure Kinect Sensor SDK
refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK
|
k4a_buffer_result_t k4a_playback_get_track_name | ( | k4a_playback_t | playback_handle, |
size_t | track_index, | ||
char * | track_name, | ||
size_t * | track_name_size | ||
) |
Gets the name of a track at a specific index.
playback_handle | Handle obtained by k4a_playback_open(). |
track_index | The index of the track to read the name form. |
track_name | Location to write the track name. This will be a UTF8 null terminated string. If a NULL buffer is specified, track_name_size will be set to the size of buffer needed to store the string. |
track_name_size | On input, the size of the track_name buffer. On output, this is set to the length of the track_name value (including the null terminator). |
track_name
has been filled in. If the buffer is too small the function returns K4A_BUFFER_RESULT_TOO_SMALL and the needed size of the track_name
buffer is returned in the track_name_size
parameter. K4A_BUFFER_RESULT_FAILED is returned if the track index does not exist. All other failures return K4A_BUFFER_RESULT_FAILED.