From: Axel Belinfante <Axel.Belinfante@cs.utwente.nl>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] mpg123
Date: Mon, 10 Feb 2003 15:53:00 +0100 [thread overview]
Message-ID: <200302101453.h1AEr0Z20581@zamenhof.cs.utwente.nl> (raw)
In-Reply-To: Your message of "Mon, 10 Feb 2003 15:34:04 +0100." <838b9e71b3d2c9e015ed50b2bd73c32c@plan9.escet.urjc.es>
> The mad player uses fixed point and is quite optimized.
> I think the ported version is in our web page.
> It's what I use in the bitsy and works properly there
> (needless to say on a pc).
I used it, took it from your web page, but I found that
there are some mp3's which it doesn't play but which
mpg123 does play. (something to do with mp3 headers?)
> Because it computes (around line 170 of layer3.c)
> 1 - tan(3 * Pi / 4) which is 0
> and then a series of values which involve dividing
> by it.
I hacked around this in mpg123 by checking for a
divisor of 0.0 and replacing it by something small
but unequal to zero. I got away with that but
Nigels solution (which I did not try) looks nicer.
> I would guess that row 9 of the table is not used,
> so that putting
> if (i == 9) continue;
> in the loop will fix it.
Axel.
next prev parent reply other threads:[~2003-02-10 14:53 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-09 10:05 [9fans] what a mess the Unix world has become Aharon Robbins
2003-02-09 19:48 ` Mike Haertel
2003-02-10 9:00 ` [9fans] mpg123 Conor Williams
2003-02-10 12:02 ` Russ Cox
2003-02-10 14:14 ` Nigel Roles
2003-02-10 14:34 ` Fco.J.Ballesteros
2003-02-10 14:53 ` Axel Belinfante [this message]
2003-02-10 15:05 ` Fco.J.Ballesteros
2003-02-10 15:53 ` Conor Williams
2003-02-10 16:41 ` Fco.J.Ballesteros
2003-02-11 10:19 ` Conor Williams
2003-02-11 11:26 ` nigel
2003-02-13 9:02 ` Conor Williams
2003-02-10 18:13 ` Tad Hunt
2003-02-10 10:04 ` [9fans] what a mess the Unix world has become Douglas A. Gwyn
2003-02-10 11:58 ` Russ Cox
2003-02-10 15:20 ` Ronald G. Minnich
2003-02-11 9:29 ` Douglas A. Gwyn
2003-02-11 10:25 ` Geoff Collyer
2005-01-21 4:38 [9fans] mpg123 lucio
2005-01-21 7:32 ` Aki M Nyrhinen
2005-01-21 10:20 ` lucio
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=200302101453.h1AEr0Z20581@zamenhof.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).