Skip to main content

ss_player_set_source_weight

Function ss_player_set_source_weight 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_set_source_weight( handle: *mut SsPlayer, source: u32, weight: f32, ) -> i32
Expand description

A source’s share within its track; weights are ratios.

§Safety

handle must be a live handle or null.