Skip to content

[raudio] (Bug) Audio is cut and never resumes if Windows goes into sleep #3535

Closed
@michelelorusso05

Description

@michelelorusso05

I am using a custom AudioStream to play audio in my emulator. However, I noticed that if the computer goes in sleep mode while the emulator is running, once the computer has booted back up the program will have no audio whatsoever and there is no chance of it coming back; only closing and reopening the emulator works.

I am initializing a custom audio stream with LoadAudioStream() and then manipulating it by calling SetAudioStreamCallback() with a custom function that populates the audio frames.

Is there a function that lets me detect the standby state to close the stream and to open a new one? Or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalThis issue depends on external lib

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions