From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <01fa01c2d1b7$1466ffb0$4d4a800a@will551> From: "Conor Williams" To: <9fans@cse.psu.edu> References: Subject: Re: [9fans] mpg123 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Tue, 11 Feb 2003 10:19:36 +0000 Topicbox-Message-UUID: 5690d524-eacb-11e9-9e20-41e7f4b1d025 thanks Nigel Heard my first plan9 mp3 late last night! I ended up subtracting 0.001 from that eqation and let it run the 1 -> 16 loop! doesnt seem to have warped it 2 much! Russ & co - maybe set the default irq for a sb16 card to 5 as thats what it is out of the box! l8r will551 ----- Original Message ----- From: "Nigel Roles" To: <9fans@cse.psu.edu> Sent: Monday, February 10, 2003 2:14 PM Subject: RE: [9fans] mpg123 > Because it computes (around ine 170 of layer3.c) > > 1 - tan(3 * Pi / 4) > > which is 0 > > and then a series of values which involve dividing > by it. > > In my experience, most mp3 code available on > lunix is full of this kind of stuff. > > It's no wonder that if you port an encoder or decoder > from one platform to another you get a different answer. > > It's only because the x86 FPU gives an answer to > tan(3 * PI / 4) > > "that is almost, but not quite, entirely unlike" > > -1 that this works at all. > > Write out 100 times, "floating point numbers > are approximate numbers". > > 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. > > -----Original Message----- > From: 9fans-admin@cse.psu.edu [mailto:9fans-admin@cse.psu.edu]On Behalf > Of Conor Williams > Sent: 10 February 2003 09:01 > To: 9fans@cse.psu.edu > Subject: [9fans] mpg123 > > > ne one use mpg123? > I got it compiled but now im getting: > mpg123 107: suicide: sys: fp: division by zero: fppc=0x6389 status=0xb9b4 > pc=0x00006380 > > when I try and play anything using the command > mpg123 -s pc.mp3 > /dev/audio > > any one got Tad Hunts email address - thats the guy who > ported over mpg123 to plan 9? > tx > will551 > >