From owner-freebsd-ports Wed Jun 2 21:20: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 38E6D14DB3 for ; Wed, 2 Jun 1999 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA29078; Wed, 2 Jun 1999 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 9928E14DD9; Wed, 2 Jun 1999 21:11:31 -0700 (PDT) Message-Id: <19990603041131.9928E14DD9@hub.freebsd.org> Date: Wed, 2 Jun 1999 21:11:31 -0700 (PDT) From: tempest@ecst.csuchico.edu To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: ports/12001: wmcdplay 1.0Beta1 05/09/1998 sometimes skips to next track in 1-track repeat Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12001 >Category: ports >Synopsis: wmcdplay 1.0Beta1 05/09/1998 sometimes skips to next track in 1-track repeat >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 2 21:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Ken Lui >Release: 3.2 release >Organization: N/A >Environment: FreeBSD black.tmpest1.org 3.2-RELEASE FreeBSD 3.2-RELEASE #11: Tue Jun 1 21:04:12 PDT 1999 root@black.tmpest1.org:/usr/src/sys/compile/BLACK i386 >Description: With 1-track repeat enabled, sometimes the next track will begin playing after the current one ends rather than repeating the current one. >How-To-Repeat: Launch wmcdplay, load audio CD, click on --> so it looks like ,--->| "- Select desired track (preferrably a short one), and play. After a few plays, the current track will eventually end and the next track begins playing, and it will repeat until the next track is selected and so on. >Fix: The problem is in cdctl.h:trackinfo(). Here's the diff. Convention may be different than how others use diff to create the patch, but the new one is designated "---". This difference is based on the port and not the original wmcdplay. Have emailed the original author, shawkie@geocities.com, although his web site is unavailable as of 06/02/1999. Will also send email to patch author clkao@cirx.org *** wmcdplay/cdctl.h.orig Wed Jun 2 20:46:18 1999 --- wmcdplay/cdctl.h Wed Jun 2 20:20:29 1999 *************** *** 348,358 **** #endif } void trackinfo(struct cd_sub_channel_info *subchnl){ if(status_state==ssPlaying || status_state==ssPaused){ status_pos=((subchnl->what.position.absaddr.msf.minute) * 60 + subchnl->what.position.absaddr.msf.second) * 75 + subchnl->what.position.absaddr.msf.frame - CD_MSF_OFFSET; for(status_track=0;status_trackwhat.position.absaddr.msf.minute) * 60 + subchnl->what.position.absaddr.msf.second) * 75 + subchnl->what.position.absaddr.msf.frame - CD_MSF_OFFSET; for(status_track=0;status_trackRelease-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message