lesavka/client/src/input/microphone.rs

20 lines
369 B
Rust
Raw Normal View History

2025-06-08 22:24:14 -05:00
// client/src/input/microphone.rs
use anyhow::Result;
pub struct MicrophoneCapture {
// no real fields yet
}
impl MicrophoneCapture {
pub fn new_stub() -> Self {
// real code would open /dev/snd, or use cpal / rodio / etc
MicrophoneCapture {}
}
pub fn capture_audio(&mut self) -> Result<()> {
// no-op
Ok(())
}
}