Skip to content

GuiSound cashing after some time if constructor with path gets used #17

@V10lator

Description

@V10lator

If you use this constructor for loading backgound music it crashes after a random time of playback: https://github.com/wiiu-env/libgui/blob/master/source/gui/GuiSound.cpp#L23

A workaround is to handle the file loading in your app, using this constructor ( https://github.com/wiiu-env/libgui/blob/master/source/gui/GuiSound.cpp#L28 ) and holding the buffer (const uint8_t * snd) untill the GuiSound has been deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions