From alsa-devel-owner@alsa.jcu.cz  Sat Nov  7 17:04:03 1998
Received: from sunu450.rz.ruhr-uni-bochum.de (sunu450.rz.ruhr-uni-bochum.de [134.147.222.33])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id RAA22437
	for <alsa-devel@jcu.cz>; Sat, 7 Nov 1998 17:03:15 +0100
Received: (qmail 1952 invoked from network); 7 Nov 1998 16:03:14 -0000
Received: from dialppp-7-213.rz.ruhr-uni-bochum.de (HELO localhost) (mail@134.147.7.213)
  by mailhost.rz.ruhr-uni-bochum.de with SMTP; 7 Nov 1998 16:03:14 -0000
Received: from brinkmds by localhost with local (Exim 2.02 #1 (Debian))
	id 0zcApB-0001Fd-00; Sat, 7 Nov 1998 17:02:53 +0100
Message-ID: <19981107170253.A4808@ruhr-uni-bochum.de>
Date: Sat, 7 Nov 1998 17:02:53 +0100
From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
To: alsa-devel@jcu.cz
Subject: About Mixer callback
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


Hello,

For the C++ API, I have to provide mixer channel info. Either:

+ I get the information from snd_mixer_channel_read() each time the data is
  requested.
+ Or I buffer the data and update only when the channel was changed.

The latter requires that the mixer callback works whenever some data in
snd_mixer_channel_t has changed. Is this true? I mean, will the latter work
reliable? Which version will be faster, if only the information about _one_
channel is required?

Thanks,
Marcus

-- 
"Rhubarb is no Egyptian god."        Debian GNU/Linux        finger brinkmd@ 
Marcus Brinkmann                   http://www.debian.org    master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09

