-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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 record audio on Linux when compiled with -fPIC #55315
Comments
Changes since 3.3.4:
|
Does it work on the |
I'm getting extrememly confused. This problem seems specific to the godot 3.4 PKGBUILD for ArchLinux. If I download that
I'll keep investigating, but it seems like this is probably an Arch-specific packaging issue and not a Godot bug. |
The issue seems to be |
I just double-checked and confirmed -- removing |
I'm trying to figure out if I should report this as an Arch packaging bug. Is it expected that |
@rcorre |
@extremety1989 if you're asking about this issue in particular, If you're asking for general help, this issue isn't the place. Check out some of the community resources, the docs, the godot-voip plugin, or the audio recording demo |
Just out of curiosity, has Godot audio recording on Linux ever worked? I have never gotten any recording examples to ever record audio. Not even fully self contained example projects. |
It works, but only on certain system configurations. The exact reason for it breaking is on certain systems is unknown, but it could be linked to build-time options or a race condition. (See the above mention of Are you using official Godot Linux binaries, distribution-packaged binaries, the Flatpak from Flathub or a self-compiled build? |
I almost always use official Godot Linux binaries. At the moment, though, I'm using 3.4 beta 5 (I should download the latest official release). I just downloaded 3.4.3 official, and the godot-voip demonstration program still doesn't work. Kubuntu 18.04.6 LTS, kernel 4.15.0-118-generic. |
@aanishacharyaa: 99% there is no way to do it either in Godot or the OS. The way I did it when I needed to was install one of the loopback driver thingies (some OS have it out of the box, some need them installed) and then record the input |
Yes, audio recording on Linux works fine as long as I compile without |
Godot version
3.4.stable
System information
Linux 5.15.4-arch1-1
Issue description
The following code captures audio from a mic and plays it back:
In godot 3.3.4, it works as expected. In godot 3.4, I hear nothing.
Steps to reproduce
Minimal reproduction project
example.zip
The text was updated successfully, but these errors were encountered: