Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream --capture option - What Device ID? #2553

Open
mbayou opened this issue Nov 12, 2024 · 0 comments
Open

Stream --capture option - What Device ID? #2553

mbayou opened this issue Nov 12, 2024 · 0 comments

Comments

@mbayou
Copy link

mbayou commented Nov 12, 2024

Hi,

I am building an app with Electron running whisper.cpp for recognition, and I’m struggling to pass the correct device ID. I used to pass the ID provided from the renderer when getting the devices from there, e.g., "default," "c627c783efbac6f3fd34a74ef40515a55859c7ad572fce4ca3e8f4ef01326c90." However, I just realised that this ID doesn’t work.

I’ve run a few tests, and passing -1, 0, or 1 works. I have 5 audio devices, but every number above 1 selects the same device. -1 is the system default, 0 seems to be a device that I know doesn’t pick up audio, and finally, 1 is the device I want selected. However, I have 2 more devices, and I can’t get them to be selected by the stream program.

I would really appreciate any guidance here. If you have any clue to help me with this, I’d be very grateful! Thank you in advance!

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

No branches or pull requests

1 participant