Skip to content

"WASAPI: GetBufferSize error" when Windows wakes up from sleep #109055

@miv391

Description

@miv391

Tested versions

  • reproducible with v4.5.beta3.mono.official [4d1f26e]

System information

Godot v4.5.beta3.mono - Windows 11 (build 26100) - Multi-window, 1 monitor - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 32.0.11024.2) - AMD Ryzen 7 9700X 8-Core Processor (16 threads) - 31.12 GiB memory

Issue description

Every time Windows wakes up from sleep, I get this error:

Image
  ERROR: drivers/wasapi/audio_driver_wasapi.cpp:774 - WASAPI: GetBufferSize error
  WARNING: drivers/wasapi/audio_driver_wasapi.cpp:845 - WASAPI: Current output_device invalidated, closing output_device

Audio still works fine after this error message.

Steps to reproduce

  1. Start Godot editor
  2. Put Windows to sleep
  3. Wake up --> Error message

Minimal reproduction project (MRP)

N/A

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