Skip to main content

ss_runtime_get_speed_scale

Function ss_runtime_get_speed_scale 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_runtime_get_speed_scale( context: *mut c_void, ) -> c_float
Expand description

The playback speed in effect, as a multiple of ss_runtime_get_frame_rate.

Reads back what ss_runtime_set_speed_scale stored, which is not always what it was handed: a negative rate clamps to 0.0.