[Coco] DW4 and Linux sound

Willard Goosey goosey at virgo.sdc.org
Sun Nov 25 18:57:30 EST 2012


On Sun, Nov 18, 2012 at 11:16:04AM -0500, Steven Hirsch wrote:
> To recap:  OpenJDK uses PulseAudio by default and needs tweaking only if, 
> like me, you have disabled Pulse due to other gross misbehavior.  Sun Java 
> probably does need configuring or it will try to grap /dev/dsp directly 
> and prevent everything else on the box from making sound.

I didn't find a "proper" way to tell Sun Java not to hold /dev/dsp
open but I have discovered a workaround:

aplay <soundfile> & java....

Aplay gets /dev/dsp and java apparently doesn't consider it a fatal
error to be told that audio's already busy.

> I'm still bashing away at this, so feel free to point out any problem! As 
> always, make backups of any configuration you might alter.

Willard
-- 
Willard Goosey  goosey at sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  -- R.E. Howard



More information about the Coco mailing list