Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jul 2003 10:39:54 -0400
From:      Jason Andresen <jandrese@mitre.org>
To:        Ken Marx <kmarx@vicor.com>
Cc:        Lucas Wilcox <lucasw@dam.brown.edu>
Subject:   Re: Problems playing certain wav files
Message-ID:  <3F04403A.9080009@mitre.org>
In-Reply-To: <3EF238DA.3000302@vicor.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F04403A.9080009>