1. IMPORTANT - 11/13/2015: In light of a possible breach we have scrubbed all passwords. You will need to request a password reset through the site. Click here for more information.

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: 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

    Jul 10, 2012
    Likes Received:
    /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'

    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