https://bugs.winehq.org/show_bug.cgi?id=41232
--- Comment #1 from llancelot7@gmail.com --- Compiling test.cpp for 32bit: winegcc -m32 test.cpp -o test.exe -lopenal
and executing it as "wine test.exe.so", produces output with available sound output devices.
But if it compiled for 64bit: winegcc -m64 test.cpp -o test.exe -lopenal
it will produce empty list.
However if I set environment variable ALSOFT_LOGLEVEL=4, 32 bit version produce additional info, but 64 bit version nothing
Looks like in 64 bit version for some reason not called "constructor" of libopenal.so
P.S. if compiling by gcc - all works.