diff options
author | kim <kim> | 1998-08-04 16:00:30 +0000 |
---|---|---|
committer | kim <kim> | 1998-08-04 16:00:30 +0000 |
commit | e083f70aa8b0dbd3678c6572a1f43d100ce07777 (patch) | |
tree | 71770d74a154559527b813ba164eda1116abc809 /audio | |
parent | c88d3a88a251d45f1384e666a345699cb6117056 (diff) | |
download | pkgsrc-e083f70aa8b0dbd3678c6572a1f43d100ce07777.tar.gz |
Don't start playing from the audio buffer before decoded audio
has been written into it (fixes the "beginning of song not played"
problem with the "-b" option).
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mpg123/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/mpg123/patches/patch-ab b/audio/mpg123/patches/patch-ab new file mode 100644 index 00000000000..1d35f1fb42b --- /dev/null +++ b/audio/mpg123/patches/patch-ab @@ -0,0 +1,13 @@ +--- mpg123.c Wed Feb 11 23:15:08 1998 ++++ mpg123.c Mon Apr 27 16:40:40 1998 +@@ -161,6 +161,9 @@ + _exit(0); + default: /* parent */ + xfermem_init_writer (buffermem); ++ if (xfermem_block(XF_WRITER, buffermem) == XF_CMD_TERMINATE) { ++ intflag = TRUE; ++ } + param.outmode = DECODE_BUFFER; + } + } + |