From: Takashi Iwai Subject: Re: Re: Volume per voices [Feature Request] Date: Mon, 01 Aug 2005 11:22:46 +0200 Message-ID: References: <42E889DD.2070808@netvigator.com> <42ECFE46.9070201@netvigator.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <42ECFE46.9070201@netvigator.com> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Raymond Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 01 Aug 2005 00:37:26 +0800, Raymond wrote: > > Jaroslav Kysela wrote: > > On Thu, 28 Jul 2005, Raymond wrote: > > > > > >>In theory, and sound cards with hardware mixing can support this kind of > >>volume control. > >> > > > > Nope. Please, define the controls at the driver initialization phase and > > make them inactive when the stream is not open. See emu10k1 or trident > > driver for hints. You must also map the voice volume with substream > > number. > > > > Beside volume control, Is it feasible to bind other controls (e.g. > Interaural Time Difference, Interaural Level Difference and SAMPLE RATE > CONVERTOR - Doppler Effect ) to the substream ? I think yes. Whatever directly bound to a PCM substream should be handled as IFACE_PCM with a certain subdevice number. > How can the alsa application access those controls > (SNDRV_CTL_ELEM_IFACE_PCM) using the handle return by snd_pcm_open() ? By defining a new API for that purpose :) Takashi ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click