9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "J.R. Mauro" <jrm8005@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Cc: Russ Cox <rsc@swtch.com>
Subject: p9p Juke issues
Date: Wed,  3 Jun 2009 23:16:14 -0400	[thread overview]
Message-ID: <3aaafc130906032016j943f31ei50063815bcd19066@mail.gmail.com> (raw)

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


                 reply	other threads:[~2009-06-04  3:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3aaafc130906032016j943f31ei50063815bcd19066@mail.gmail.com \
    --to=jrm8005@gmail.com \
    --cc=9fans@9fans.net \
    --cc=rsc@swtch.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).