Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Sound installed but now what???
Date: Thu, 12 Nov 1998 04:31:32 +0000	[thread overview]
Message-ID: <364A64A4.542425F4@paralleldata.com> (raw)
In-Reply-To: 199811120308.TAA19693@icarus.com

Stephen Williams wrote:
> 
> 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 find that the i386 to alpha transition is easier for the image processing
> guy (like me) then the i386 to SPARC switch:-)

Alphas and Intels are little endian.

The simple solution was to elimate sox, which apparently has
some Alpha related bugs in it.

Look at /usr/lib/magic for info on file types:

Audio files

# Sun/NeXT audio data
0       string          .snd            Sun/NeXT audio data:
>12     belong          1               8-bit ISDN u-law,
>12     belong          2               8-bit linear PCM [REF-PCM],
>12     belong          3               16-bit linear PCM,
>12     belong          4               24-bit linear PCM,
>12     belong          5               32-bit linear PCM,
>12     belong          6               32-bit IEEE floating point,
>12     belong          7               64-bit IEEE floating point,
>12     belong          23              8-bit ISDN u-law compressed (CCITT G.721
 ADPCM voice data encoding),
>12     belong          24              compressed (8-bit G.722 ADPCM)
>12     belong          25              compressed (3-bit G.723 ADPCM),
>12     belong          26              compressed (5-bit G.723 ADPCM),
>12     belong          27              8-bit A-law,
>20     belong          1               mono,
>20     belong          2               stereo,
>20     belong          4               quad,
>16     belong          >0              %d Hz

# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format
# that uses little-endian encoding and has a different magic number
0       lelong          0x0064732E      DEC audio data:
>12     lelong          1               8-bit ISDN u-law,
>12     lelong          2               8-bit linear PCM [REF-PCM],
>12     lelong          3               16-bit linear PCM,
>12     lelong          4               24-bit linear PCM,
>12     lelong          5               32-bit linear PCM,
>12     lelong          6               32-bit IEEE floating point,
>12     lelong          7               64-bit IEEE floating point,
>12     lelong          23              8-bit ISDN u-law compressed (CCITT G.721
 ADPCM voice data encoding),
>20     lelong          1               mono,
>20     lelong          2               stereo,
>20     lelong          4               quad,
>16     lelong          >0              %d Hz


Wes


  parent reply	other threads:[~1998-11-12  4:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-11 21:04 Sound installed but now what??? Bob Taylor
1998-11-11 23:06 ` Chris Albertson
1998-11-11 23:10   ` Wes Bauske
1998-11-11 23:14     ` Larry Snyder
1998-11-12  1:59       ` Bob Taylor
1998-11-12  3:08         ` Stephen Williams
1998-11-12  3:59           ` Larry Snyder
1998-11-12  4:31           ` Wes Bauske [this message]
1998-11-12  4:57             ` Ronald Bruck
1998-11-12  6:52               ` Wes Bauske
1998-11-12 12:41               ` Paul Tomblin
1998-11-12 16:22                 ` paride for alpha?? A. Rodriguez-Gonzalez
     [not found]                   ` <A.Rodriguez-Gonzalez@bristol.ac.uk>
1998-11-12 16:43                     ` xeno
1998-11-12  7:47           ` Sound installed but now what??? Bob Taylor
1998-11-12  9:24             ` mgraffam
1998-11-12 10:14               ` Bob Taylor
1998-11-12 20:17             ` Wes Bauske
1998-11-12 23:50               ` Bob Taylor
1998-11-12 17:48 ` Guenter Geiger
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox