From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 23 05:32:07 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 5262937B404 for ; Mon, 23 Jun 2003 05:32:06 -0700 (PDT) Received: from ihemail2.firewall.lucent.com (ihemail2.lucent.com [192.11.222.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 692DE43FB1 for ; Mon, 23 Jun 2003 05:32:04 -0700 (PDT) (envelope-from lucas@smtp.dam.brown.edu) Received: from r2d2.box (h135-222-112-181.lucent.com [135.222.112.181]) ESMTP id h5NCVxt24498 for ; Mon, 23 Jun 2003 07:32:00 -0500 (CDT) Received: from me (localhost [127.0.0.1]) by r2d2.box (Postfix) with SMTP id 9A28ED39; Fri, 20 Jun 2003 21:35:25 -0400 (EDT) Received: (nullmailer pid 29059 invoked by uid 1000); Sat, 21 Jun 2003 01:35:25 -0000 Date: Fri, 20 Jun 2003 21:35:24 -0400 From: Lucas Wilcox To: Ken Marx Message-ID: <20030621013524.GA28965@r2d2.fdu.edu> 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> <3EF238CC.9080300@vicor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EF238CC.9080300@vicor.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD r2d2 4.8-RELEASE FreeBSD 4.8-RELEASE 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: Mon, 23 Jun 2003 12:32:07 -0000 On Thu, Jun 19, 2003 at 03:27:24PM -0700, Ken Marx wrote: > Hi Lucas, > > Sorry for the delay getting back to you. My friend, Julian, > just brought his laptop in today. No problem. > > 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(). I do not see this on 4.8, wavplay just exits quickly. > > 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. I see this similar behavior on 4.8. In general the small files are the ones that do not play. I too a small file that would not play %wavplay KDE_Beep_Beep.wav Pathname: KDE_Beep_Beep.wav Device: /dev/audio Sampling Rate: 7418 Hz Mode: Mono Samples: 1034 Bits: 8 Then I added about 3 seconds of silence using sweep and the following file did play with sox play and wavplay %wavplay KDE_Beep_Beep2.wav Pathname: KDE_Beep_Beep2.wav Device: /dev/audio Sampling Rate: 7418 Hz Mode: Mono Samples: 23046 Bits: 8 So it looks to me like a size problem too. I am thinking about looking at the driver and seeing what is going on. I have no experience with drivers but wrote a little c in school we will see how far it goes. Lucas