[alsa-devel] Alsa MMAP emulation
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
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
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.
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
participants (3)
-
Clemens Ladisch
-
Mathieu Monney
-
Pharaoh .