9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Salva Peiró" <saoret.one@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Audio with QEMU
Date: Mon, 19 Mar 2007 08:50:17 +0000	[thread overview]
Message-ID: <9e913c890703190150v4c66707cqa72aeb4854653778@mail.gmail.com> (raw)
In-Reply-To: <43be9b02a67609e3b65fa52d4e783e05@csplan9.rit.edu>

On 1/2/00, john@csplan9.rit.edu <john@csplan9.rit.edu> wrote:
>
> Well, I've got my QEMU terminal booting and mounting the filesystem
> over the network. Now I'd like to get audio working, so I start QEMU
> with the -soundhw sb16 option and put the following in plan9.ini:
>
> audio0=type=sb16 irq=5 port=0x220 dma=5
>
> When I reboot and 'bind -a '#A' /dev', I can now use madplay to play
> an mp3, but the output I get is very scratchy and generally ugly, like
> a terribly static-garbled radio station. Can anyone with experience in
> this give me some pointers? Thanks.
>
>
>
> John Floren
>
>
When I use madplay on Plan 9 native, sound cuts since it's a slow machine,
so I give madplay a higher priority and then it sounds fine:

# the details are covered by proc(3) /Priorities/
pid=`{ps | awk '/madplay/ {print $2}'
cat /proc/$pid/status
echo pri 18 > /proc/$pid/ctl
cat /proc/$pid/status

-- 
salva


      parent reply	other threads:[~2007-03-19  8:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-02 12:30 john
2007-03-18 19:37 ` cinap_lenrek
2007-03-19  8:50 ` Salva Peiró [this message]

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=9e913c890703190150v4c66707cqa72aeb4854653778@mail.gmail.com \
    --to=saoret.one@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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).