9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Axel Belinfante <Axel.Belinfante@cs.utwente.nl>
To: 9fans@cse.psu.edu
Subject: [9fans] sb16(?) problem: audio timeout / mpg123: problem: division-by-zero
Date: Thu,  4 Apr 2002 20:01:15 +0200	[thread overview]
Message-ID: <200204041801.g34I1Gv09567@copernicus.cs.utwente.nl> (raw)

I'm playing with a soundblaster card.
With /dev/volume I can control the cd volume.
(Russ: I like your mixer program! Thanks!
 Note: on my system it needed minor changes to compile)
But, when I redirect sound bytes to /dev/audio nothing seems
to happen; after uncommenting the commented-out print statements
in /sys/src/9/port/devaudio.c  I get '#A: audio timeout' messages.

The system is a 150 Mhz pentium-s (according to boot msgs).
The sound blaster card (ISA) says while booting something like:
   creative VibraX16 PNP
It has a note (c) 1997 on the card.
(is this enough to identify it?)
Is this one simply not compatible enough? Or??

On a related note:
I installed mpg123 (using Tad Hunt's patch). When I run it,
I get a 'division by zero' error in layer3.c:172
When it breaks, i==9.
Any ideas?
(I hacked around this by inserting an explicit test; since I don't
hear the audio anyway I cannot say how that influences sound quality)

(I also installed mpeg3play, which does seem to work,
as far as I can judge without being able to hear the audio)

Thanks, as always,
Axel.




             reply	other threads:[~2002-04-04 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-04 18:01 Axel Belinfante [this message]
2002-04-04 18:19 Russ Cox
2002-04-05 14:30 ` Axel Belinfante

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=200204041801.g34I1Gv09567@copernicus.cs.utwente.nl \
    --to=axel.belinfante@cs.utwente.nl \
    --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).