whisp 0.5.0

Unobtrusive global speech-to-text
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Microphone/recording state types.

/// The current state of the microphone/recording.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum MicState {
    /// Waiting for audio input to begin (hotkey pressed, mic warming up)
    Activating,
    /// Actively recording audio
    Active,
    /// Idle, not recording
    Idle,
    /// Processing recorded audio (transcribing)
    Processing,
}