You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
I've also seen the device list change between runs. My workaround was to change the system default device in my Mac to the one I want to use, then select -1
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!
The text was updated successfully, but these errors were encountered: