From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: Re: I want to dmix for my MIPS board, how can I do? Date: Mon, 07 Mar 2005 14:35:10 -0500 Message-ID: <1110224111.935.5.camel@mindpipe> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable In-Reply-To: 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: =?UTF-8?Q?=E6=9D=8E=E5=BB=BA?= =?UTF-8?Q?=E5=9D=A4?= Cc: alsa-devel List-Id: alsa-devel@alsa-project.org On Mon, 2005-03-07 at 22:24 +0800, =E6=9D=8E=E5=BB=BA=E5=9D=A4 wrote: > alsa-devel=EF=BC=8C >=20 > I'm an device driver developer for MIPS board. Now, I'm in urgent nee= d of dmix source code for my Achemy board. > I want to dmix on my MIPS Au1x00 board, Segmentation Fault occurs. I = look up the code of pcm_dmix.c for possible reason,=20 > it says, > #warning Please, recode mix_areas1() routine to your architecture..= . > warning Please, recode mix_areas2() routine to your architecture... > Does it mean the dmix can only be used on X86 architecture now? > if I want to use it on my MIPS board, how can I do?=20 > =20 > Looking forward to anyone's reply! Tanks in advance! Yup, that's exactly what it means. Dmix is only implemented for x86 now. If you want to use it on another arch you have to code it yourself. But, isn't there a cleaner way to handle this than segfaulting? Why do we even compile the plugin for non-x86 archs? Lee ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick