Function rs2_playback_device_set_playback_speed

Function Documentation

void rs2_playback_device_set_playback_speed(const rs2_device *device, float speed, rs2_error **error)

Set the playing speed

Parameters:
  • device[in] A playback device

  • speed[in] Indicates a multiplication of the speed to play (e.g: 1 = normal, 0.5 twice as slow)

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