From alsa-devel-owner@alsa.jcu.cz  Fri Nov 27 18:17:48 1998
Received: from entry.jcu.cz (IDENT:perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id SAA15126;
	Fri, 27 Nov 1998 18:16:57 +0100
Date: Fri, 27 Nov 1998 18:16:57 +0100 (CET)
From: Jaroslav Kysela <perex@jcu.cz>
To: Christian Fischbach <fishbach@eucmos.sim.ucm.es>
cc: alsa-devel@jcu.cz
Subject: Re: Mixer was: Es1869 fist running version ...
In-Reply-To: <Pine.OSF.3.96.981127154435.24865A-100000@eucmos.sim.ucm.es>
Message-ID: <Pine.LNX.3.96.981127161635.4886C-100000@entry.jcu.cz>
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 Fri, 27 Nov 1998, Christian Fischbach wrote:

> Hello all!
> 
> On Thu, 26 Nov 1998, Abramo Bagnara wrote:
> 
> > There's a problem that you can verify giving this sequence of commands:
> > $ exec 3> /dev/audio
> > $ cat ring.au >&3
> 
> I will test ist at home. Thank you so far.
> 
> Concerning the mixerproblem. What is about with the following Idea:
> 
> We use one mixer. The std. OSS mixer. If the RECORD_FROM flag for one
> channel is set the mixerprogram changes the value of the
> record-mixer-channel. If it is not set it changes the value of the
> playback-mixer-channel.

In this way is working OSS mixer? I preffer for ALSA mixer interface some
way how can be read/write values for both directions without need
set RECORD flag.

> An other problem:
> 
> Since the sampling-rates for record and playback must be the same we have
> a problem if a program trys to use different rates. At the moment I just
> take the last rate-set for both. But I do not know if this is an
> sophisticated idea.

I'm using in my code algorithm "first can set rate, second cannot (rate 
is locked)"..

> P.S.: Is there somewhere an exact definition of the Kernel-Coding-Style?
> Ok, I can look an the sources, but I do not know (for example) if there
> are other "allowed" styles of comments.

/usr/src/linux/Documentation/CodingStyle

							Jaroslav

-----
Jaroslav Kysela <perex@jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic



