How to emulate OSS with ALSA?

Discussion in 'Linux Hardware' started by kupnu42605, Jul 17, 2012.

  1. kupnu42605

    kupnu42605 New Member

    Jul 17, 2012
    Likes Received:
    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: object '/usr/lib/x86_64-linux-gnu/' 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?

  2. Kerms

    Kerms New Member

    Jul 10, 2012
    Likes Received:
    /usr/lib/x86_64-linux-gnu/' doesn't exist. For me, running dpkg -S returns /usr/lib/
    So, I would do:
    export LD_PRELOAD='/usr/lib/'

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

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

Share This Page