I was thinking to pass this information from snd_pcm_t->private_data. This gets copied to substream->private_data internally which would reach the driver. Am I right here?
-----Original Message----- From: Harsha, Priya Sent: Tuesday, December 09, 2008 8:54 AM To: 'Lee Revell' Cc: alsa-devel@alsa-project.org Subject: RE: [alsa-devel] question on hardware mixing
I have a DSP engine with FW. I need to pass this information to the FW which does some processing for voice and music differently.
Thanks, Harsha
-----Original Message----- From: rlrevell@gmail.com [mailto:rlrevell@gmail.com] On Behalf Of Lee Revell Sent: Tuesday, December 09, 2008 8:46 AM To: Harsha, Priya Cc: alsa-devel@alsa-project.org Subject: Re: [alsa-devel] question on hardware mixing
On Sat, Dec 6, 2008 at 1:56 AM, Harsha, Priya priya.harsha@intel.com wrote:
Hi,
Thanks.
A quick follow up question. In the trigger function - I see that from substream->runtime->private_data, voice specific parameters are extracted. How and can somehow user space fill in some private data to the driver so that driver can process voice in a different way and music in a different way?
What exactly do you want to do differently?
Lee