Path to this page:
Subject: CVS commit: pkgsrc/audio/gqmpeg
From: Luke Mewburn
Date: 2002-03-25 06:44:49
Message id: 20020325054449.A61A7B004@cvs.netbsd.org
Log Message:
Add back patch-ac containing various ogg123 playback fixes (different
from the last set), making ogg playback useful:
- implement ogg123_pipe_open() which opens a pipe and runs the command
supplied in the char **, returning the child pid and fd array from pipe(2).
based on code from ogg123_child_run().
- replace popen() with ogg123_pipe_open() in ogg123_info_get(),
ogg123_comment_get(), and ogg123_comment_set(). now info actually
works for file names which contain wacky shell characters (where
surrounding the file name with quotes just Isn't Enough)
- parse_bitrate(): current bitrate in ogg123 output is now "(NNN.MM kbps)",
so look for that rather than "Bitrate: NNNN"
- when setting the initial bit_rate for a song, use "bitrate_average / \
1000"
rather than "bitrate_nominal", since bit_rate is in kbps and bitrate_*
is in bps and bitrate_average is more appropriate that bitrate_nominal.
Files: