From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24029 invoked from network); 12 Nov 1998 08:03:02 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 12 Nov 1998 08:03:02 -0000 Received: from mail.inreach.com (mail.inreach.com [209.142.0.3]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA05159 for ; Thu, 12 Nov 1998 03:03:01 -0500 Received: from ann.qtpi.lakewood.ca.us (root@206-18-112-217.la.inreach.net [206.18.112.217]) by mail.inreach.com (8.8.8/8.8.6/(InReach)) with ESMTP id XAA12540 for ; Wed, 11 Nov 1998 23:54:00 -0800 (PST) Received: from ann.qtpi.lakewood.ca.us (brtaylor@localhost [127.0.0.1]) by ann.qtpi.lakewood.ca.us (8.8.7/8.8.7) with ESMTP id XAA02961 for ; Wed, 11 Nov 1998 23:47:40 -0800 Message-Id: <199811120747.XAA02961@ann.qtpi.lakewood.ca.us> X-Mailer: exmh version 2.0.2 From: Bob Taylor To: axp-list@redhat.com Subject: Re: Sound installed but now what??? In-reply-to: Your message of "Wed, 11 Nov 1998 19:08:18 PST." <199811120308.TAA19693@icarus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 11 Nov 1998 23:47:40 -0800 Sender: brtaylor@inreach.com In message <199811120308.TAA19693@icarus.com>, Stephen Williams writes: > In message <199811112314.SAA04315@ra.lexis-nexis.com>, Larry Snyder writes: > > What happens if you: cat some-file.au > /dev/audio? > > That would eliminate sox.... > > brtaylor@inreach.com said: > > Nothing like a simple solution! > > Yep. > > brtaylor@inreach.com said: > > Looks like the Alpha is big endian. > > Nope. I quote from the "Alpha Architecture Reference manual": > > "A longword is specified by its address A, the address of > the byte containing bit 0." I've looked at the sources. I have found one anonimally. There is a function that prints messages to stderr and I no see 'em. I also don't seem to find why sox doesn't work on the Alpha but does on my Pentium (both boxes are running Red Hat 5.1. This is weird. In the file au.c: #define SUN_MAGIC 0x2e736e64 /* Really '.snd' */ #define SUN_INV_MAGIC 0x646e732e /* '.snd' upside-down */ . . #define SUN_HDRSIZE 24 /* Size of minimal header */ . #define SUN_ULAW 1 /* u-law encoding */ If SUN_INV_MAGIC is found then swap is set to 1. The header of a .au file is: .snd^@^@^@(^@^@dT^@^@^@^A where .snd = SUN_MAGIC ^@^@^@( = SUN_HDRSIZE ^@^@dT = data size ^@^@^@^A = SUN_ULAW (encoding) I think I just saw a mistake, the SUN_HDRSIZE and SUN_ULAW should be 24L and 1L? Anyway the error is reported on the encoding. The header seems to be big endian. Bob -- +---------------------------------------------------------------+ | Bob Taylor Email: brtaylor@inreach.com | |---------------------------------------------------------------| | Like the ad says, at 300 dpi you can tell she's wearing a | | swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you | | can tell it's painted on. I suppose at 2400 dpi you can tell | | if the paint is giving her a rash. (So says Joshua R. Poulson)| +---------------------------------------------------------------+