From alsa-devel-owner@alsa.jcu.cz  Sun Oct  4 11:14:00 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 LAA26094;
	Sun, 4 Oct 1998 11:13:56 +0200
Date: Sun, 4 Oct 1998 11:13:54 +0200 (CEST)
From: Jaroslav Kysela <perex@jcu.cz>
To: Brion Vibber <brion@pobox.com>
cc: alsa-devel@jcu.cz
Subject: Re: Xamixer 0.1.5
In-Reply-To: <Pine.LNX.4.03.9810032231480.24062-100000@rdaneel.dyn.ml.org>
Message-ID: <Pine.LNX.3.96.981004110536.4238C-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 Sat, 3 Oct 1998, Brion Vibber wrote:

> > Coming (not necessarily in this order):
> > 	-Config File (default initial volumes?, channel names, pixmaps)

Maybe Xwin resource file in X11/app-defaults will be ok for this
purpose...

> I don't like the idea of initial volumes... I find it very annoying to
> find all my volumes changed simply by _opening_ a mixer. I don't want to
> manually reset every channel when I just wanted to slightly adjust one...
> If I want to save/set volumes on bootup or login, I'll use a command-line
> mixer.

I agree this..

> > 	-AutoRecognition when a channel changes from some other app.
> 
> Is there a better way to do this than polling the device from time to
> time? Maybe I shouldn't have skimmed past the detailed bits of the docs...
> ;)

select().. ALSA have definitely best way how can be done this change
detection.. Only broken OSS mixer allows get info over ioctl()s only..
This mean, that application should not use some sort of timer for this
purpose.

> > Jaroslav,
> > 	When XAmixer stabalizes, is there any chance of it getting
> > included in the alsa-utils package?
> 
> I hope so, it's not big and it's nice to have an X-based mixer as well as
> the text ones...

No probs... I like GTK (gimp is probably on most Linux machines
running Xwin today)...

> > Oh a few final (general) questions:
> > How hard is it to convert to autoconf?  Is it worth it for this app?
> 
> Dunno, but if it's not too hard I recommend it, it's a nice consistent
> interface. Far easier for a user to check ./configure --help and feed it

There is only need changes in Configure.in to detect GTK library and
Xwin..

> some options than to wade through a Makefile OR or a config file the
> Makefile uses OR on Imakefile OR bob-knows-what... Who needs RPMs or DEBs
> when you can compile a program to suit your needs so easily?

Maybe Linux administrators (this is my real job) which are updating
software on more than 10 machines and they doesn't want do recompilation
on each ;-))

							Jaroslav

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


