← Back to team overview

ubuntu-hams-devel team mailing list archive

[Bug 601750] Re: cwirc does not work with pulseaudio natively

 

As running Xirc with padsp won't solve the problem I created this simple
wrapper script. Simply put it into /usr/local/bin and make it
executable. Because /usr/local/bin is parsed before /usr/bin, Xirc's
call of cwirc_frontend will call the wrapper with the same name. The
wrapper then calls the original cwirc_frontend program with all argumens
and padsp.

The cwirc_frontend wrapper just contains these two lines:

#!/bin/bash
padsp /usr/bin/cwirc_frontend $@


** Attachment added: "wrapper script to be put into /usr/local/bin"
   https://bugs.launchpad.net/ubuntu/+source/cwirc/+bug/601750/+attachment/4245541/+files/cwirc_frontend

-- 
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to cwirc in Ubuntu.
https://bugs.launchpad.net/bugs/601750

Title:
  cwirc does not work with pulseaudio natively

Status in “cwirc” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: cwirc

  cwirc expects a dsp device. Using the default /dev/dsp  gives "Error:
  cannot open sound device /dev/dsp" (pulseaudio is using it).

  A workaround is to launch xchat with:
  padsp xchat

  As pulseaudio is installed by default this workaround should be
  documented in the package.

  The package could offer to change the shortcut on install to a simple wrapper script that uses padsp if it finds pulseaudio.
  maybe with
  /usr/bin/pulseaudio --check

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cwirc/+bug/601750/+subscriptions


References