Function rs2_context_remove_device

Function Documentation

void rs2_context_remove_device(rs2_context *ctx, const char *file, rs2_error **error)

Removes a playback device from the context, if exists

Parameters:
  • ctx[in] The context from which the device should be removed

  • file[in] The file name that was used to add the device

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