Subject: Re: Audio problems...
To: Adam K Kirchhoff <>
From: Bill Studenmund <>
List: tech-kern
Date: 03/12/2003 15:17:48
On Wed, 12 Mar 2003, Adam K Kirchhoff wrote:

> Just a followup to this one issue...  I started to do some more testing
> when I got home from work and discovered that xgalaga does the same.  The
> only difference is that xgalaga will actually core dump.
> lbreakout2 and civclient both play audio fine, as does realplayer.
> Can anyone recommend a way to debug this problem?

printf()s. Well, they aren't printf()s anymore, but you get the point.

The important routines are the open and close ones, both in the specific
driver and in the MI audio code. Somewhere in the open routines, the
driver's deciding that the device is in use. Somewhere in the close
routine, the driver isn't being marked as no-longer-in-use. Once you know
why it's considered busy, you can figure out why the close routine isn't
un-busying it.

That'll be your bug.

Take care,