[quoted lines by A. R. Vener on December 12, 2001, at 19:46]

>In practice when I select -s I do not get any output from
>standard output.

Okay ... it turns out that there are a couple of issues. The good news is that
the -s option of vsound actually does work. The even better news is that the
.au stream is written directly to standard output in real time, and no
intermediate file is created.

First: When you run trplayer, make sure you specify -q so that it doesn't write
the "contacting" and "buffering" lines, as it writes them to standard output
which interferes with the audio stream.

Second: There's a bug in the vsound script which makes it fail with an error
when -s is specified. Since it writes the error to standard output, you don't
end up seeing it if you've either piped or redirected standard otput. The fix
is easy. Change line 142 as follows:

old: if [ "$verbose" ] && [ "$VSOUND_STDOUT" ]; then
new: if [ "$verbose" = 1 ] && [ "$VSOUND_STDOUT" ]; then

-- 
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: [EMAIL PROTECTED] | Canada  K2A 1H7   | if you're concerned about Hell.


Reply via email to