Subject: Re: audio open()/close() inconsistency
To: Quentin Garnier <cube@cubidou.net>
From: Aymeric Vincent <vincent@labri.fr>
List: tech-kern
Date: 09/16/2007 18:36:58
Quentin Garnier <cube@cubidou.net> writes:

> While I don't deny there might be a bug, your analysis is incorrect:
> the close() function from the cdevsw structure is called only once, when
> there is no remaining file descriptor using the device.

Ah, you're right. Even if the device is opened once on /dev/audio0 and
once on /dev/sound0?

I'll investigate more instead of thinking aloud on the list. :-)

 Aymeric