Skip to main content

create_player_backend

Function create_player_backend 

Source
pub(crate) fn create_player_backend(
    app_handle: AppHandle,
    playback_reporter: Arc<Mutex<Option<PlaybackReporter>>>,
    position_throttler: Arc<EventThrottler>,
) -> Box<dyn PlayerBackend>
Expand description

Create the appropriate player backend for the current platform.