Skip to content

Audio input device selection#41

Merged
sveinbjornt merged 14 commits intomasterfrom
device
Nov 8, 2025
Merged

Audio input device selection#41
sveinbjornt merged 14 commits intomasterfrom
device

Conversation

@sveinbjornt
Copy link
Copy Markdown
Owner

  • Available audio input devices can now be listed via -a flag
  • Audio input device can now be selected via -n flag.

@sveinbjornt sveinbjornt requested a review from Copilot November 8, 2025 18:11
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for selecting and listing audio input devices for speech recognition. The changes enable users to specify which microphone to use and view available audio input devices, along with adding support for Continuity Camera devices.

Key changes:

  • Added command-line options -a/--audio-input-devices to list available audio input devices and -n/--input-device-id to specify an input device
  • Implemented CoreAudio-based device enumeration and selection logic
  • Updated Info.plist to enable Continuity Camera device support

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
src/main.m Added command-line option handling for audio device listing and selection
src/Hear.h Added public method declarations for audio device operations
src/Hear.m Implemented audio device enumeration, validation, and selection using CoreAudio APIs
Info.plist Added NSCameraUseContinuityCameraDeviceType key and reformatted whitespace

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

sveinbjornt and others added 5 commits November 8, 2025 18:15
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sveinbjornt sveinbjornt requested a review from Copilot November 8, 2025 18:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

sveinbjornt and others added 5 commits November 8, 2025 18:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sveinbjornt sveinbjornt requested a review from Copilot November 8, 2025 18:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

sveinbjornt and others added 2 commits November 8, 2025 18:39
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sveinbjornt sveinbjornt merged commit 39f69e3 into master Nov 8, 2025
1 check passed
@sveinbjornt sveinbjornt deleted the device branch November 8, 2025 18:41
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