Function rs2_set_stream_profile_data

Function Documentation

void rs2_set_stream_profile_data(rs2_stream_profile *mode, rs2_stream stream, int index, rs2_format format, rs2_error **error)

Override some of the parameters of the stream profile

Parameters:
  • mode[in] input stream profile

  • stream[in] stream type for the profile

  • format[in] binary data format of the profile

  • index[in] stream index the profile in case there are multiple streams of the same type

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored