How to emulate OSS with ALSA?

K

kupnu42605

Guest
Hi, dudes! I've got a huge problem and exepect you help me to solve it:) So, I've installed a game recently and there's no sound. I looked for some information and found that the problem is that the game needs OSS but I have only ALSA. They adviced me to use oss-wrapper - alsa-oss. I tried to run # aoss ./gorky18. Sound hadn't appeared. Now I don't know what to do. In the terminal it writes:
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libaoss.so' from LD_PRELOAD cannot be preloaded: ignored.
SNDCTL_DSP_GETFMTS: Inappropriate ioctl for device
SoundInit: Mix Error: Couldn't get audio format list.
What to do?
 


/usr/lib/x86_64-linux-gnu/libaoss.so' doesn't exist. For me, running dpkg -S libaoss.so returns /usr/lib/libaoss.so
So, I would do:
export LD_PRELOAD='/usr/lib/libaoss.so'
./gorky18


If that doesn't work do dpkg -S libaoss.so and replace /usr/lib/libaoss.so with the (shortest possible) one from dpkg -S...

If it works, I recommend putting
export LD_PRELOAD='/usr/lib/libaoss.so'
in your ~/.bashrc
 

Members online


Latest posts

Top