oarust 0.12.0

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=ff39f557f560ed7ddcb24e78b2f2dc89811f1694c16980d60d7290633f17c5f3
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;