From alsa-devel-owner@alsa.jcu.cz  Thu Jan 28 01:45:04 1999
Received: from galjas.cs.vu.nl (root@galjas.cs.vu.nl [130.37.24.13])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id BAA00452
	for <alsa-devel@alsa.jcu.cz>; Thu, 28 Jan 1999 01:40:49 +0100
Received: from localhost by galjas.cs.vu.nl with esmtp
	(Smail3.1.28.1 #56) id m105fVm-0006O8C; Thu, 28 Jan 99 01:40 +0100
Date: Thu, 28 Jan 1999 01:40:46 +0100 (MET)
From: Andy Lo A Foe <arloafoe@cs.vu.nl>
To: alsa-devel@alsa.jcu.cz
cc: Harald Kirsch <kir@iitb.fhg.de>
Subject: Re: alsa driver forgets settings between close and open
In-Reply-To: <Pine.LNX.3.96.990127221747.4304A-100000@entry.jcu.cz>
Message-ID: <Pine.GSO.4.05.9901280136290.25583-100000@galjas.cs.vu.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Wed, 27 Jan 1999, Jaroslav Kysela wrote:

> > On the other hand, if setting would be persistent after a close and a
> > subsequent open by another program, it would be possible to have just
> > one single program to set driver settings. After they are set as
> > necessary, playback as well as recording could proceed with just cat, dd 
> > or, in my own program, with a simple sequence of open/read,write/close.
> > 
> > Do you think it will be possible in the future to have pesistent
> > settings in alsa?
> 
> No, I don't see any improvement of driver with this way.
> Any comments from others?

Well, IMO it can't hurt to remember the current settings after a device
close. This will help the original poster and not have a negative
effect on current programs (since non of them rely on persistant
settings anyway). If it's not too hard to implemented, I say go for it :)

Andy
--
Andy Lo A Foe, arloafoe@cs.vu.nl |  Linux v2.2.0pre | PII 266 
http://www.cs.vu.nl/~arloafoe    | GSM: 0622-440695 | Bebox 133
http://orbital.xs4all.nl/andy    |   ICQ: 7472949   | IRCNet: Adnans


