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

Cannot use microphone due to "Device search found more than one device" #156

Open
jamesWalker55 opened this issue Aug 31, 2022 · 2 comments
Labels
enhancement portaudio Requires changes in PortAudio upstream.

Comments

@jamesWalker55
Copy link

This is my list of input devices: (seen from the FlexASIO GUI)

(None)
Microphone (High Definition Audio Device)
Microphone (High Definition Audio Device)
Microphone (DroidCam Virtual Audio)
Line 1 (Virtual Audio Cable)

I am trying to use one of the "Microphone (High Definition Audio Device)" devices. My FlexASIO configuration is as follows:

[input]
device = "Microphone (High Definition Audio Device)"

However, FlexASIO fails to load. Running FlexASIOTest.exe shows the following:

Initializing driver...
Driver returned an error: -1000 [ASE_NotPresent]
...FAILED with error message: Device search found more than one device: `Microphone (High Definition Audio Device)` and `Microphone (High Definition Audi

Testing finished with FAIL result

Since there are 2 devices with the same name, is there any way to differentiate them in the FlexASIO configuration?

One workaround I'm using for now is to change the name of one of the inputs manually through the Sound control panel:

image

@dechamps
Copy link
Owner

Yeah, unfortunately that's a known limitation. The only way to identify a device through PortAudio is through that name (or via index but that's way worse because it's quite unstable). In the situation you describe, there is literally no way for FlexASIO to tell which device you mean.

Fixing this would likely involve improvements to the PortAudio API, which is unlikely to happen, but one can always hope… in the mean time your workaround makes sense. I believe you could also disable one of the devices to make it disappear from the list and that should work as well.

@dechamps dechamps added enhancement portaudio Requires changes in PortAudio upstream. labels Aug 31, 2022
@aleksandarkoruga
Copy link

Hello. You can find a Fork that i've done to tackle the problem, in my case i just break the loop after the first device is found. Hope it helps. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement portaudio Requires changes in PortAudio upstream.
Projects
None yet
Development

No branches or pull requests

3 participants