---------- Forwarded message ---------- From: Pascal Giard <[EMAIL PROTECTED]> Date: Apr 15, 2007 1:55 PM Subject: Re: Bug#416989: sox: Segmentation fault when playing from stdin To: Marko Randjelovic <[EMAIL PROTECTED]>
As mentionned in the manpage where they talk about the "-" option: "Note that when using this option, the file-type (see -t below) must also be given." Just to make sure... Does "cat test.wav | sox -t wav - -t ossdsp /dev/dsp" work? -Pascal On 4/13/07, Marko Randjelovic <[EMAIL PROTECTED]> wrote:
I am running, now stable, Etch, sox version 13.0.0-1. This sox version does not segfault, but doesn't work anyway. The error message is sox stio: Failed reading `-': Could not determine file type. I don't understand why it say "Could not determine file type" since I used "-t ossdsp" argument. Everything I said applies to using stdin. When I specify filename as input, sox plays the file with no problems. Pascal Giard wrote: > Hi Marko, > thanks for your bugreport. > > Which section or version are you running? (stable distribution Etch?) > I've tested with a mp3 and this doesn't seem to apply to latest > version in unstable 13.0.0. > > Is there a reason for piping instead of specifying the filename? > Or does that more generally mean that "you can't use open() in an > application"? > If so, it's bad and deserves more attention. > > Regards, > > -Pascal >
-- Homepage (http://organact.mine.nu) Debian GNU/Linux (http://www.debian.org) LACIME: École de technologie supérieure (http://lacime.etsmtl.ca) -- Homepage (http://organact.mine.nu) Debian GNU/Linux (http://www.debian.org) LACIME: École de technologie supérieure (http://lacime.etsmtl.ca)