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
Quoted 8 lines · Mathieu Monney
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_emulationflag 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
Quoted 11 lines · Clemens Ladisch
Quoted 8 lines · Mathieu Monney
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_emulationflag 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_emulplugin.
So, the original plugin need not be modified? mmap_emul plugin has to be used on top of it?
-pharaoh.
Quoted 10 lines · Pharaoh .
Quoted 6 lines · Clemens Ladisch
Quoted 3 lines · Mathieu Monney
use mmap'ing on my DSP plugin ? I saw there is a
mmap_emulationflag 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_emulplugin.So, the original plugin need not be modified?
mmap_emulplugin has to be used on top of it?
Yes.
HTH
Clemens