CI / Build & test (Windows) (push) Failing after 7s
All crates take the oak-* kebab-case naming (oak-audio, oak-codec, oak-common, oak-core, oak-ffmpeg-link, oak-node, oak-otio, oak-plugin, oak-render, oak-storage, oak-task, oak-timeline, oak-undo), with the lib identifiers rewritten (oakrender:: -> oak_render::, oakcore_rs:: -> oak_core::, ...) across all 226 referencing files. The GUI application moves from the workspace root into crates/oak-app/: src/, build.rs (paths fixed for the new location) and tests/ travel with it, the root Cargo.toml becomes workspace-only ([workspace] + workspace.package + profiles), and the app package inherits the workspace version. The screenshots example becomes a standalone crate examples/simple_player/ with its own Cargo.toml. Every crate now inherits the single workspace version (version.workspace = true), and the workflows' crate paths and the build docs follow the renames. Validated with a clean cargo check --workspace.
50 lines
1.8 KiB
Rust
50 lines
1.8 KiB
Rust
// Oak Video Editor - Non-Linear Video Editor
|
|
// Copyright (C) 2026 Oak Team
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
//! # oakaudio — the audio I/O, processing and synchronization engine (Rust)
|
|
//!
|
|
//! Reimplements the C++ oakaudio module behind its frozen C ABI
|
|
//! (`include/audio/*.h`). See README.md for the architectural mapping
|
|
//! (singleton manager, stateless sync helpers, local value types).
|
|
//!
|
|
//! ## Structure
|
|
//!
|
|
//! Single-lib unification: the module crates are called directly from the
|
|
//! oakengine facade (`crates/oakengine`), which owns the C-ABI shims and
|
|
//! boxes the singleton [`manager::ManagerInner`] behind its own `CHandle`.
|
|
//! Shared state lives behind `Mutex`.
|
|
|
|
#![deny(unsafe_op_in_unsafe_fn)]
|
|
#![warn(missing_docs)]
|
|
|
|
pub mod config;
|
|
pub mod error;
|
|
pub mod levelmeter;
|
|
pub mod manager;
|
|
pub mod params;
|
|
pub mod outputdevice;
|
|
pub mod previewdevice;
|
|
pub mod processor;
|
|
pub mod synchronizer;
|
|
pub mod waveform;
|
|
pub mod waveformsync;
|
|
|
|
// Keep the oakffmpeg-link rlib referenced so its build script's native
|
|
// link flags (the static FFmpeg's transitive dependencies) reach the
|
|
// final link — rustc prunes the flags of an unreferenced rlib.
|
|
#[used]
|
|
static FORCE_FFMPEG_LINK: fn() = oak_ffmpeg_link::force_link;
|