From owner-freebsd-ports Tue Jan 9 23:39:56 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mail.tucheng.generalresources.com (a1.tucheng.generalresources.com [211.21.4.234]) by hub.freebsd.org (Postfix) with ESMTP id EC93437B400 for ; Tue, 9 Jan 2001 23:39:36 -0800 (PST) Received: from w40.tucheng.generalresources.com (w40.tucheng.generalresources.com [192.168.1.40]) by mail.tucheng.generalresources.com (8.11.1/8.11.1) with ESMTP id f0A7deh17677 for ; Wed, 10 Jan 2001 15:39:40 +0800 (CST) (envelope-from hsw@acm.org) Received: from w40.tucheng.generalresources.co (localhost [127.0.0.1]) by w40.tucheng.generalresources.com (8.11.1/8.11.1) with ESMTP id f0A7dcg67296 for ; Wed, 10 Jan 2001 15:39:38 +0800 (CST) (envelope-from hsw@acm.org) Message-Id: <200101100739.f0A7dcg67296@w40.tucheng.generalresources.com> To: ports@freebsd.org Reply-To: Christopher Hall From: Christopher Hall Subject: audio/cmp3 Content-transfer-encoding: 8bit Content-type: text/plain; charset=big5 X-Operating-System: FreeBSD X-Mailer: Exmh Date: Wed, 10 Jan 2001 15:39:37 +0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have the following problems with cmp3 port: (cmp3-2.0.p50) 1) patch-aa sets the config file to be "$$\(HOME)/.cmp3rc" the original Makefile expanded $(HOME) to the directory of the user compiling the program. strings `which cmp3` shows the exact text "$(HOME)/.cmp3rc" However, there is no code in cmp3main.c or nevlib/inifile.c to expand environment variables. Might it be better for patch-aa to substitute "$(PREFIX)/etc/cmp3rc" and similar for cmp3ass file. 2) When I attempt to play an mp3 only random noise is produced. If I type the same mpg123 command then it plays successfully. I can now start cmp3 and keep adding files to play-list (they disappear rapidly until the original command finishes) until one is started by cmp3. Files will play successfully as long as I keep the play-list full. 3) Pause is not immediate takes approximately 15 sec and Kill kills many files. I thought these might both related to buffering in the sound driver or mpg123 program. therfore I changed the line "mpg123_params := -b 320" to "mpg123_params := -b 0" to turn off mpg123 buffer. This change seems to fix: The random noise at start. Kill only kills the file being played. Pause now takes 6 seconds to stop sound. It does NOT fix: Running out the play-list - it is still necessary to quit and restart. I did notice that there is only 1 mpg123 process but with -b 320 there were two, perhaps this was confusing cmp3. 4) I could not get F1 to give help I use chinese/rxvt (zh-rxvt-2.7.3_1) and ssh to connect to the machine with the sound hardware, as it has no keyboard or display. F1 generates [11~ TERM=xterm-color if change to TERM=vt200 can use F1 but no colour. The sample termcap from rxvt produces no colour and no line-drawing graphics. I could not see any better entries in /usr/share/misc/termcap. This seems to work: (copied from xterm-color, but base changed to vt220) setenv TERMCAP \ "xterm-color:pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=vt220:" The machine configuration is: 4.2-STABLE #0: Tue Jan 9 14:49:30 CST 2001 CPU: AMD-K6(tm) 3D processor (300.69-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 130023424 (126976K bytes) avail memory = 122855424 (119976K bytes) ... pcm0: at port 0x220-0x22f,0x530-0x537,0x388-0x38f,0x330-0x331,0 Is any one else using this program, if so do you have any comments or advise on the above? --- Christopher Hall Fax: +886-2-2795-3030 Christopher Hall Phone: +886-2-2795-5799 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message