I have a workaround for this issue. First make sure that packages pulseaudio-utils and osspd-alsa are installed, the run update- alternatives and choose ossp-alsap as the option:
$ sudo update-alternatives --config ossp-slave There are 2 choices for the alternative ossp-slave (providing /usr/lib/osspd/ossp-slave). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/lib/osspd/ossp-padsp 70 auto mode * 1 /usr/lib/osspd/ossp-alsap 60 manual mode 2 /usr/lib/osspd/ossp-padsp 70 manual mode Then use pulseaudio utility pasuspender in-front of your program: $ pasuspender /path/to/your/program -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1857810 Title: osspd no longer works: ERR: failed to connect context, state=5 (Bad state) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/osspd/+bug/1857810/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs