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

PortAudioError: Error opening Stream: Illegal combination of I/O devices [PaErrorCode -9993] #478

Open
dzdem opened this issue Jun 27, 2023 · 1 comment

Comments

@dzdem
Copy link

dzdem commented Jun 27, 2023

I am trying to measure the impulse response of my laptop's loudspeaker using sounddevice. I want to use my own laptop's speaker as the output device, and an external microphone array as the input device. I am using an RME sound card for the microphone array, which uses the MADIface ASIO driver. I want to get the raw audio from the laptop speakers so I am using ASIO4ALL as the driver for laptop speakers. But whenever I run my code, I get the following error:

PortAudioError: Error opening Stream: Illegal combination of I/O devices [PaErrorCode -9993]

I couldn't find anything about this specific error anywhere on the internet. Source code for sounddevice also doesn't show anything. Unfortunately I cannot share my code because of the privacy policy of the company. Can someone please explain what might be the problem here?

@HaHeho
Copy link

HaHeho commented Jun 29, 2023

Using different hardware devices simultaneously can be a bit of a challenge, depending on the operating system. See for example #465 (comment) and the linked discussion #338 (comment).

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

2 participants