| 41 | |
| 42 | /** Audio data received from Rust via Channel */ |
| 43 | export interface AudioData { |
| 44 | samples: string; // Base64-encoded PCM (f32 samples, little-endian, mono) |
| 45 | timestamp: number; // Unix timestamp |
| 46 | sampleRate: number; // e.g., 48000 |
| 47 | chunkCount: number; // Sequence number |
| 48 | } |
| 49 | |
| 50 | /** Result of starting a capture stream */ |
| 51 | export interface CaptureStreamResult { |
nothing calls this directly
no outgoing calls
no test coverage detected