Skip to content

macOS: enable VoiceProcessingIO for echo cancellation on mic capture #1

Description

@CJHwong

Problem

On macOS, the built-in mic picks up speaker audio even in mic-only mode because raw PortAudio capture has no echo cancellation. On Windows and Linux, drivers typically apply AEC automatically, so mix mode is needed on macOS to capture both voice and speaker output — but this introduces duplicate audio artifacts.

Proposed Solution

Use Apple's VoiceProcessingIO audio unit to enable acoustic echo cancellation (AEC) on mic capture. This would make mic-only and mix mode behave identically across all platforms.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions