-
Notifications
You must be signed in to change notification settings - Fork 1
Phase 3: Integrate with audio pipeline and replace WebView #26
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestpriority:highImportant, blocks functionalityImportant, blocks functionality
Description
Overview
Connect native renderer to audio pipeline, remove IPC events, and make it the default indicator.
Tasks
- Modify
audio/preview.rsto call native renderer directly instead of emitting events - Remove
indicator_window_ready()command (no longer needed) - Remove
recording-audio-levelevent emission - Update
show_recording_indicator()to use native window - Update
hide_recording_indicator()to use native window - Add feature flag
native-indicator(enabled by default) - Keep WebView fallback behind
!native-indicatorfeature - Update tests to work with native rendering
- Performance testing (CPU, memory, latency)
Acceptance Criteria
- Native renderer is default
- No IPC events for audio levels
- <1% CPU usage during recording
- Indicator shows within 50ms of recording start
- WebView fallback still works when feature disabled
- All existing tests pass
Dependencies
- Requires Phase 2: Implement all indicator styles with animations #25 (Phase 2) to be completed
Estimated Effort
Medium (6-8 hours)
Milestone
Native Rendering for Recording Indicator
References
- Current integration:
src-tauri/src/audio/preview.rs - Architecture doc:
docs/architecture/native-indicator-renderer.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority:highImportant, blocks functionalityImportant, blocks functionality