9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* p9p Juke issues
@ 2009-06-04  3:16 J.R. Mauro
  0 siblings, 0 replies; only message in thread
From: J.R. Mauro @ 2009-06-04  3:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs; +Cc: Russ Cox

Hi all,

In an attempt to get the Juke program to play nice with other programs
wanting to use sound, I modified the Juke script to run 'aoss ajuke
$*'

This had the result of letting other programs access the sound card,
but now Juke can't play more than one song. It seems that ajuke is
stuck on something, and I'm having a hard time debugging it. I ran the
following to try to see what's happening (this is after I try to
2-click Next while Juke is playing a song):

; lsof | grep snd
ajuke     23365 thedoctor    4u      CHR              116,0       0t0
   5678 /dev/snd/controlC0
ajuke     26261 thedoctor  mem       CHR             116,16
   5671 /dev/snd/pcmC0D0p
ajuke     26261 thedoctor    9r      CHR             116,33       0t0
   5422 /dev/snd/timer
ajuke     26261 thedoctor   10u      CHR             116,16       0t0
   5671 /dev/snd/pcmC0D0p
ajuke     26261 thedoctor   11u      CHR              116,0       0t0
   5678 /dev/snd/controlC0
; ps | grep ajuke
1000   23364  23:08  0:00    892K pipe_w ajuke
1000   23365  23:08  0:00   2172K futex_ ajuke
1000   26261  23:09  0:00   1232K poll_s ajuke
;

Does anyone know enough about Juke and aoss to shed some light on this?

Thanks
~jrm


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-04  3:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-04  3:16 p9p Juke issues J.R. Mauro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).