Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 1999 11:44:26 -0300 (ADT)
From:      The Hermit Hacker <scrappy@hub.org>
To:        Soren Schmidt <sos@freebsd.dk>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: cdd produces static ...
Message-ID:  <Pine.BSF.4.10.9910081143320.30583-100000@thelab.hub.org>
In-Reply-To: <199910081434.QAA28001@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

Doing:

dd if=/tmp/track-10.cda conv=swab of=/usr/local/track-10-swap.cda
./pcmplay 128bits 1 44hz /usr/local/track-10-swap.cda

Results in the same static ... file sizes between the original and the
'swap'd are identical...

On Fri, 8 Oct 1999, Soren Schmidt wrote:

> It seems The Hermit Hacker wrote:
> > On Fri, 8 Oct 1999, Soren Schmidt wrote:
> > 
> > > It seems The Hermit Hacker wrote:
> > > > > Hmm, have you tried byteswapping the file ??
> > > > 
> > > > byteswapping? how?
> > > 
> > > swapping the even and odd bytes of the file, fx with dd...
> > 
> > thanks, I knew what byteswapping meant, but haven't got a clue how to do
> > it...what is 'fx', and I just finished reading teh dd man page from start
> > to finish, and nothing there talks about byteswapping...
> 
> from man dd:
> 
>      conv= value[, value ...]
> 	Where value is one of the symbols from the following list.
> 
> ...
>               swab     Swap every pair of input bytes.  If an input buffer has
>                        an odd number of bytes, the last byte will be ignored
>                        during swapping.
> 
> see ?
> 
> -Soren
> 

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910081143320.30583-100000>