From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 3 07:40:11 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 684E437B401 for ; Thu, 3 Jul 2003 07:40:11 -0700 (PDT) Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 267D74401E for ; Thu, 3 Jul 2003 07:40:10 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.12.9/8.12.8) with ESMTP id h63Ee26r028030; Thu, 3 Jul 2003 10:40:05 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv2.mitre.org (8.12.9/8.12.8) with ESMTP id h63EdvOD013337; Thu, 3 Jul 2003 10:39:57 -0400 (EDT) Received: from mm112324-2k.mitre.org (129.83.3.58) by mailhub2.mitre.org with SMTP id 3073008; Thu, 03 Jul 2003 10:39:55 -0400 Message-ID: <3F04403A.9080009@mitre.org> Date: Thu, 03 Jul 2003 10:39:54 -0400 From: Jason Andresen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Marx References: <20030612014649.GA1525@r2d2.fdu.edu> <3EEA1948.7000100@vicor.com> <20030613191012.GA14158@r2d2.mh.lucent.com> <3EEA2FDE.1080508@vicor.com> <20030614143801.GB4882@r2d2.ri.cox.net> <20030614140515.694acb34.rpratt1950@earthlink.net> <20030614205151.GA6045@r2d2.ri.cox.net> <3EEE2C05.3000506@vicor.com> <20030616205718.GA1972@r2d2.mh.lucent.com> <3EF238DA.3000302@vicor.com> In-Reply-To: <3EF238DA.3000302@vicor.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Multimedia cc: Lucas Wilcox Subject: Re: Problems playing certain wav files X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 14:40:11 -0000 Ken Marx wrote: > Hi Lucas, > > Sorry for the delay getting back to you. My friend, Julian, > just brought his laptop in today. > > Sorry for this, but we have a new dimension in behavior space: > > On his 5.0 box neither your beep nor my converted beep file > plays. Not only this, but waveplay doesn't even exit! > Running under truss, we see it hang on a call to exit(). > > Longer files do play fine. So it appears that for small > files the device never flushes. Didn't do any checking > to see what this hypothesized data limit might be. > > Likely a 5.0 thing? Sorry couldn't be more helpful. This almost sounds like another face to the "end of the sound is clipped" problem that Newpcm has always had. It used to be that on very small files (interface sounds and whatnot, you just wouldn't hear anything. I guess the new card sends an interrupt back when it's done playing the sound or something that tells FreeBSD that it can let the program using the soundcard finish shutting down. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755