Skip to main content

ss_player_set_speed_scale

Function ss_player_set_speed_scale 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_set_speed_scale( handle: *mut SsPlayer, speed: f32, )
Expand description

Scale playback speed; 1.0 is the authored speed.

Zero and negative values stop the playhead where it stands. To play backwards use ss_player_set_playback_direction, which is the separate setting that controls direction.

ยงSafety

handle must be a live handle or null.