Package: sox
Version: 14.0.0-5
Severity: normal

Trying to convert a raw file, I saw a sox(1) manpage example but it doesn't 
seems to work, check this:

  [EMAIL PROTECTED]:/tmp$ dd if=/dev/urandom of=voice-memo.raw count=200
  200+0 records in
  200+0 records out
  102400 bytes (102 kB) copied, 0.033446 seconds, 3.1 MB/s
 
  [EMAIL PROTECTED]:/tmp$ sox -r 8000 -u -1 -c 1 voice-memo.raw voice-memo.wav
  sox soxio: Failed reading `voice-memo.raw': unknown file type `auto'

  [EMAIL PROTECTED]:/tmp$ ls voice-memo.wav
  ls: voice-memo.wav: No such file or directory

Then I installed libsox-fmt-base and it worked OK. But there is a problem, 
libsox-fmt-base isn't a required sox package dependency, only a recommendation. 
So I think the error message must be changed to something like 
"unknown file type, maybe you need to install libsox-fmt* ?". Also the
manpage must be changed, because the functionality described in
it isn't the same as the one provided by the sox package (the one that
provides the manpage). I think it will be good if you keep the examples
in the manpage but add some notes describing which additional packages do
you need to run each example.  


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages sox depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  libltdl3                      1.5.22-4   A system independent dlopen wrappe
ii  libsamplerate0                0.1.2-5    audio rate conversion library
ii  libsox0                       14.0.0-5   SoX library

Versions of packages sox recommends:
pn  libsox-fmt-alsa | libsox-fmt- <none>     (no description available)
pn  libsox-fmt-base               <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to