oarust 0.15.1

GPU-first semantic computing engine written in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @generated by tool/gen/fn/generate.py; DO NOT EDIT.
// schema=sessions.json,codecs.json,ml_parity.json schema_version=1 generator_version=64
// schema_sha256=cbdaa1bfd6a13c042ccc2a36b1c91c0d41c0511c7f5391238c321e4adf8fd10f
use crate::media::{MediaPlayer, MediaPlayerConfig};
use crate::{Engine, Result};

#[allow(clippy::type_complexity)]
const _: fn(std::path::PathBuf, std::path::PathBuf) -> MediaPlayerConfig =
	|video_path, audio_path| crate::media::MediaPlayerConfig::new(video_path, audio_path);
#[allow(clippy::type_complexity)]
const _: fn(std::path::PathBuf) -> MediaPlayerConfig =
	|video_path| crate::media::MediaPlayerConfig::embedded(video_path);
#[allow(clippy::type_complexity)]
const _: fn(&Engine, MediaPlayerConfig) -> Result<MediaPlayer> = crate::media::MediaPlayer::open;