Skip to main content

ss_player_set_playback_direction

Function ss_player_set_playback_direction 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_set_playback_direction( handle: *mut SsPlayer, direction: i32, style: i32, )
Expand description

direction: 0 forward, 1 backward. style: 0 normal, 1 ping-pong. Set as a pair — pass the current value for whichever you are not changing.

§Safety

handle must be a live handle or null.