1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! Local Voice Activity Detection (VAD) module.
//!
//! This module provides local voice detection functionality based on the
//! `voice_activity_detector` crate, enabling fast and private voice activity
//! detection and subtitle synchronization in local environments.
//!
//! # Key Components
//!
//! - [`VadAudioProcessor`] - Audio processing and format conversion
//! - [`LocalVadDetector`] - Core VAD detection functionality
//! - [`VadSyncDetector`] - Subtitle synchronization using VAD
//!
//! # Features
//!
//! - Local audio processing without external API calls
//! - Configurable sensitivity and processing parameters
//! - Support for multiple audio formats and sample rates
//! - Privacy-focused design with no data transmission
/// Audio loading utilities for VAD operations.
///
/// Provides direct audio file loading functionality with support for
/// various audio formats and efficient memory management.
/// Audio processing utilities for VAD operations.
///
/// Provides audio loading, resampling, and format conversion functionality
/// specifically designed for voice activity detection workflows.
/// Voice activity detection core functionality.
///
/// Contains the main VAD detector implementation using local processing
/// to identify speech segments in audio files.
/// Resampling utilities for audio processing.
///
/// Provides functionality to resample audio data to target sample rates
/// and formats, ensuring compatibility with the VAD processing pipeline.
/// VAD-based subtitle synchronization.
///
/// Provides subtitle timing synchronization using voice activity detection
/// to automatically align subtitle timing with detected speech segments.
pub use ;
pub use ;
pub use VadSyncDetector;
// Re-export for convenience
pub use crateVadConfig;