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

Godot does not listen to microphones with over 2 channels #82823

Open
Tracked by #76797
marc-weber1 opened this issue Oct 5, 2023 · 3 comments · May be fixed by #90013
Open
Tracked by #76797

Godot does not listen to microphones with over 2 channels #82823

marc-weber1 opened this issue Oct 5, 2023 · 3 comments · May be fixed by #90013

Comments

@marc-weber1
Copy link

Godot version

4.2 dev 5 [9ff46d0]

System information

Godot v4.2.dev5 - Windows 10.0.19045 - GLES3 (Compatibility) - Intel(R) UHD Graphics 620 () - Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 Threads)

Issue description

When trying to listen to a microphone with 4 channels, godot returns this error:

E 0:00:06:0920   thread_func: WASAPI: unsupported channel count in microphone!
  <C++ Source>   drivers/wasapi/audio_driver_wasapi.cpp:877 @ thread_func()

Ideally it would just take the first 2 channels, or combine all channels into 1?

Steps to reproduce

With a PC with a microphone with over 2 channels, create an AudioStreamPlayer, with an AudioStreamMicrophone in it, and route it to master.

Just notify me if you need to test code? I can recompile the engine.

Minimal reproduction project

mic test.zip

@marc-weber1 marc-weber1 changed the title Godot microphone does not listen to microphones with over 2 channels Godot does not listen to microphones with over 2 channels Oct 5, 2023
@kus04e4ek
Copy link
Contributor

Should be fixed by #90013. Can you test it?

@nekocarpet
Copy link

nekocarpet commented May 2, 2024

Got this error in V4.2.2 stable and v4.3 dev6.
I'm using a built-in microphone on my laptop which has 4 channels.

#30313 is made a while ago also with a 4 channel mic.

@Moosil
Copy link

Moosil commented Jun 18, 2024

Should be fixed by #90013. Can you test it?

Not sure if you've already tested it, but it does fix the issue. Also if it's useful, I am using a built-in 4 channel microphone on a laptop as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants