Skip to content

refactor: Remove unused dual-file transcription mode - #4

Merged
r3dbars merged 1 commit into
mainfrom
cleanup/remove-dead-transcription-code
Jan 1, 2026
Merged

r3dbars merged 1 commit into
mainfrom
cleanup/remove-dead-transcription-code

Conversation

@r3dbars

@r3dbars r3dbars commented Jan 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove transcribeMeetingFiles() - public method that was never called externally
  • Remove transcribeWithAssemblyAI() - private implementation that sent mic and system audio as separate API calls
  • Remove cleanupAudioFiles() - helper only used by the removed methods

Context

The multichannel pipeline was added in #73830d2 as a more efficient approach:

  • Before: 2 API calls (mic + system separately)
  • After: 1 API call (stereo merge, channel-based attribution)

The TranscriptionTaskManager was refactored to use only:

  • transcribeMultichannel() for mic+system recordings
  • transcribeToIntermediateResult() for mic-only recordings

The old dual-file code path was left in place but never invoked, making it dead code.

Test plan

  • Build succeeds (xcodebuild -scheme Murmur)
  • Verified no other callers of removed methods via grep

🤖 Generated with Claude Code

Remove dead code paths that were superseded by the multichannel pipeline:
- transcribeMeetingFiles() - public method that was never called
- transcribeWithAssemblyAI() - private implementation for dual API calls
- cleanupAudioFiles() - helper only used by the removed methods

The multichannel pipeline (merged stereo, single API call) is now the
only path for mic+system recordings, while transcribeToIntermediateResult
handles mic-only recordings. This removes ~200 lines of redundant code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@r3dbars
r3dbars merged commit 14c4c4c into main Jan 1, 2026
@r3dbars
r3dbars deleted the cleanup/remove-dead-transcription-code branch January 1, 2026 19:28
r3dbars added a commit that referenced this pull request Mar 18, 2026
Remove dead code paths that were superseded by the multichannel pipeline:
- transcribeMeetingFiles() - public method that was never called
- transcribeWithAssemblyAI() - private implementation for dual API calls
- cleanupAudioFiles() - helper only used by the removed methods

The multichannel pipeline (merged stereo, single API call) is now the
only path for mic+system recordings, while transcribeToIntermediateResult
handles mic-only recordings. This removes ~200 lines of redundant code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: justinbetker <Justin.betker@jamf.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
r3dbars added a commit that referenced this pull request Apr 7, 2026
perf: split agent lock, native Swift chat, bump debounce threshold
r3dbars added a commit that referenced this pull request Apr 7, 2026
perf: split agent lock, native Swift chat, bump debounce threshold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants