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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...