Skip to content

OpenAL fails to create device/audio context sometimes #2

@eliasdaler

Description

@eliasdaler

Reported by @erwincoumans.
Overall, OpenAL initialization code is somewhat wonky and needs to be improved + would be nice to run games without audio at all.

erwincoumans@master-node:~/dev/edbr-build$ games/platformer/platformer
[ALSOFT] (WW) Failed to open playback device: Could not open /dev/dsp: No such file or directory
[ALSOFT] (WW) Error generated on device (nil), code 0xa004
ERROR: Failed to create OpenAL device
[ALSOFT] (WW) Error generated on device (nil), code 0xa001
ERROR (/home/erwincoumans/dev/edbr/edbr/src/Audio/SoundDevice.cpp: 78)
ALC_INVALID_DEVICE: a bad device was passed to an OpenAL function
ERROR: Could not create OpenAL audio context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions