Subject: Re: emuxki(4): audioplay(1) blocking
To: None <>
From: =?ISO-8859-1?Q?St=E9phane?= Witzmann <>
List: current-users
Date: 09/12/2006 22:26:41
Jukka Salmi wrote:

> Hi,
> Stéphane Witzmann --> current-users (2006-09-12 20:49:07 +0200):
>> 1) Does the same test work with another sound card on the same system ?
> I don't have another card to test ATM...
>> 2) I think playing with flac123 works because it opens /dev/audio instead
>> of /dev/sound. This resets the device.
>> Can you try playing the wav files using /dev/audio ?
> Indeed, this works fine!
>> Can you also tell flac123 to use /dev/sound and see if it triggers the
>> bug ?
> Yes, it does trigger it.
> Anything else I should try?

You can easily test if the sound card works without changing its current
settings with:

cat FILE > /dev/sound
where FILE is a non-zero-filled file (so that playing it as raw will produce
noise). Note that /dev/random seems too slow for that purpose (although it
was OK with 3.0 as far as I remember).

Now try changing parameters with audioctl and repeat the above test. What
changes trigger the bug ? Is it only mono/stereo ?