How to emulate OSS with ALSA?

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

  1. kupnu42605

    kupnu42605 New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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?

  2. Kerms

    Kerms New Member

    Messages:
    59
    Likes Received:
    12
    Trophy Points:
    0
    /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

Share This Page