Skip to content

[libretro] Audio is distorted when using Runahead single-instance mode #31

@msheehan79

Description

@msheehan79

When the runahead feature is enabled in RetroArch for this core, the audio becomes distorted and requires you to enable the second instance mode to render audio properly.

Ideally, if the audio information can be serialized fully in the save state, this should allow runahead to work in single-instance mode without distortion.

I found during some testing my side that if I added m_pApu and m_pBuffer to the save state in Audio.cpp, and removed the reset + clear functions from the load state that audio was clear with runahead enabled. But I'm not sure if there is any negative impacts to this, apart from the obvious impact to compatibility of existing states.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions