Skip to content

AudioEffectRecord has more latency when using an USB microphone compared to an analog microphone #54544

@risunz

Description

@risunz

Godot version

3.3 Stable

System information

Solus OS 4.3

Issue description

I make a software that capture a voice input using a microphone. I realize that analog microphone with audio jack works perfectly fine but usb mic will have a latency issue. It takes time bofore showing an output that "audio is captured"

Steps to reproduce

this line of code:
var power = AudioServer.get_bus_peak_volume_left_db(AudioServer.get_bus_index("Record"), 0)

with the attached bus and audiostreamplayer setups
image
image

For some reason, usb mic user will get a delay for the output.

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions