From: Takashi Iwai <tiwai@suse.de>
To: Lee Revell <rlrevell@joe-job.com>
Cc: li_jiankun@hotmail.com, alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: I want to dmix for my MIPS board, how can I do?
Date: Mon, 07 Mar 2005 20:51:54 +0100 [thread overview]
Message-ID: <s5his43utd1.wl@alsa2.suse.de> (raw)
In-Reply-To: <1110224854.935.7.camel@mindpipe>
At Mon, 07 Mar 2005 14:47:33 -0500,
Lee Revell wrote:
>
> On Mon, 2005-03-07 at 20:44 +0100, Takashi Iwai wrote:
> > At Mon, 07 Mar 2005 14:35:10 -0500,
> > Lee Revell wrote:
> > >
> > > On Mon, 2005-03-07 at 22:24 +0800, 李建坤 wrote:
> > > > alsa-devel,
> > > >
> > > > I'm an device driver developer for MIPS board. Now, I'm in urgent need 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,
> > > > 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?
> > > >
> > > > 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?
> >
> > Well, segfault is not intended, of course :)
> >
> > Does the segfault still happen with the CVS version?
> > If so, there must be something wrong in another part (e.g. the general
> > mmap support on MIPS).
>
> IIRC someone else reported a segfault trying to use dmix with another
> unsupported arch. So this led me to believe the problem was related.
Could be. I wanted to make sure of this because I changed/fixed the
dmix code recently on CVS.
Takashi
-------------------------------------------------------
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=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-03-07 19:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-07 14:24 I want to dmix for my MIPS board, how can I do? 李建坤
2005-03-07 19:35 ` Lee Revell
2005-03-07 19:44 ` Takashi Iwai
2005-03-07 19:47 ` Lee Revell
2005-03-07 19:51 ` Takashi Iwai [this message]
2005-03-07 20:13 ` Jaroslav Kysela
-- strict thread matches above, loose matches on Subject: below --
2005-03-08 3:03 李建坤
2005-03-11 18:16 ` Takashi Iwai
[not found] <BAY16-DAV2E3871593CBD4D793631FE9540@phx.gbl>
2005-03-14 18:38 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5his43utd1.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=li_jiankun@hotmail.com \
--cc=rlrevell@joe-job.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox