* Alsa MMAP emulation
@ 2008-03-05 10:47 Mathieu Monney
2008-03-05 15:51 ` Clemens Ladisch
0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Monney @ 2008-03-05 10:47 UTC (permalink / raw)
To: alsa-devel
Hi,
I'm trying to get working Alsa with the PortAudio library on an embedded
device (Nokia N810). The problem is that the sound driver is not an
hardware driver for Alsa but a plugin which deals with the internal DSP
of the device. This plugin doesn't support mmap'ing at all. So I was
wondering if it is possible to configure Alsa a way such PortAudio can
use mmap'ing on my DSP plugin ? I saw there is a mmap_emulation flag but
the problem is that it seems to be only available on HW driver and not
on alsa plugins.
Any clues ?
Thank you in advance
Mathieu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Alsa MMAP emulation
2008-03-05 10:47 Alsa MMAP emulation Mathieu Monney
@ 2008-03-05 15:51 ` Clemens Ladisch
2008-03-05 17:30 ` Pharaoh .
0 siblings, 1 reply; 4+ messages in thread
From: Clemens Ladisch @ 2008-03-05 15:51 UTC (permalink / raw)
To: Mathieu Monney; +Cc: alsa-devel
Mathieu Monney wrote:
> I'm trying to get working Alsa with the PortAudio library on an embedded
> device (Nokia N810). The problem is that the sound driver is not an
> hardware driver for Alsa but a plugin which deals with the internal DSP
> of the device. This plugin doesn't support mmap'ing at all. So I was
> wondering if it is possible to configure Alsa a way such PortAudio can
> use mmap'ing on my DSP plugin ? I saw there is a mmap_emulation flag but
> the problem is that it seems to be only available on HW driver and not
> on alsa plugins.
In alsa-lib 1.0.15, this function was moved into the mmap_emul plugin.
HTH
Clemens
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Alsa MMAP emulation
2008-03-05 15:51 ` Clemens Ladisch
@ 2008-03-05 17:30 ` Pharaoh .
2008-03-05 17:36 ` Clemens Ladisch
0 siblings, 1 reply; 4+ messages in thread
From: Pharaoh . @ 2008-03-05 17:30 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel, Mathieu Monney
On Wed, Mar 5, 2008 at 7:51 AM, Clemens Ladisch <clemens@ladisch.de> wrote:
> Mathieu Monney wrote:
> > I'm trying to get working Alsa with the PortAudio library on an embedded
> > device (Nokia N810). The problem is that the sound driver is not an
> > hardware driver for Alsa but a plugin which deals with the internal DSP
> > of the device. This plugin doesn't support mmap'ing at all. So I was
> > wondering if it is possible to configure Alsa a way such PortAudio can
> > use mmap'ing on my DSP plugin ? I saw there is a mmap_emulation flag but
> > the problem is that it seems to be only available on HW driver and not
> > on alsa plugins.
>
> In alsa-lib 1.0.15, this function was moved into the mmap_emul plugin.
So, the original plugin need not be modified? mmap_emul plugin has to
be used on top of it?
-pharaoh.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Alsa MMAP emulation
2008-03-05 17:30 ` Pharaoh .
@ 2008-03-05 17:36 ` Clemens Ladisch
0 siblings, 0 replies; 4+ messages in thread
From: Clemens Ladisch @ 2008-03-05 17:36 UTC (permalink / raw)
To: Pharaoh .; +Cc: alsa-devel, Mathieu Monney
Pharaoh . wrote:
> On Wed, Mar 5, 2008 at 7:51 AM, Clemens Ladisch <clemens@ladisch.de> wrote:
> > Mathieu Monney wrote:
> > > use mmap'ing on my DSP plugin ? I saw there is a mmap_emulation flag but
> > > the problem is that it seems to be only available on HW driver and not
> > > on alsa plugins.
> >
> > In alsa-lib 1.0.15, this function was moved into the mmap_emul plugin.
>
> So, the original plugin need not be modified? mmap_emul plugin has to
> be used on top of it?
Yes.
HTH
Clemens
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-03-05 17:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05 10:47 Alsa MMAP emulation Mathieu Monney
2008-03-05 15:51 ` Clemens Ladisch
2008-03-05 17:30 ` Pharaoh .
2008-03-05 17:36 ` Clemens Ladisch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.