[Bug]: after openal-soft bump to 1.24.2, sound stopped working in x11/luanti #23148
Labels
audio
Issue related to audio device support, including ALSA
bug report
Something is not working properly
Problem description
When I uploaded
luanti
, the sound was working, but after fa1118b, for me the sound stopped working, and this error appeared instead:using
export ALSOFT_LOGLEVEL=3
can show slightly more information:I completely do not understand why
mplayer -ao openal
,mpd
, andmpv --ao=openal
continue to work with this version ofopenal-soft
whileluanti
does not, and I have been unable to find any way to patchluanti
to work with the currentopenal-soft
package, which is very confusing sinceluanti
callsalcOpenDevice()
in an almost completely identical way to howmplayer
calls it. I cannot tell what the difference is, and all changes I have attempted toluanti
'salcOpenDevice()
call have had no effect (for example I tried refactoring out the references tounique_ptr_alcdevice
in such a way that the sound continued to work withopenal-soft
1.24.1, but it still did not work with 1.24.2).https://github.com/luanti-org/luanti/blob/dd0070a6b8a28e2fe2ac591b3ea96813ba9ffcb0/src/client/sound/sound_singleton.cpp#L15
The only way I have found to work around this is to revert the two commits in
openal-soft
1.24.2 that I bisected this problem to.kcat/openal-soft@8767fdd
kcat/openal-soft@e359dbf
What steps will reproduce the bug?
What is the expected behavior?
Working sound in
luanti
System information
The text was updated successfully, but these errors were encountered: