Jump to content

0AD and OSS


sarcoma
 Share

Recommended Posts

Why is 0ad using old OSS and monopolizing the card?

sudo fuser -fv /dev/snd/* /dev/dsp*
                     USER        PID ACCESS COMMAND
                               10571 F.... pyrogenesis
/dev/snd/pcmC0D0p:             10571 F...m pyrogenesis
/dev/snd/timer:                10571 f.... pyrogenesis

Other OSS program:

FATAL: cannot open dsp device /dev/dsp
/dev/dsp: Device or resource busy

 

Link to comment
Share on other sites

Thank you, Vladislav.  With --nosound, 0ad doesn't access the card

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  root        441 f.... alsactl

and OSS program runs with this module loaded snd-pcm-oss.

Seems like an ALSA thing though, pretty much any program that needs audio blocks /dev/dsp.

I found out ALSA comes with aoss to run old programs.

Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...