[gst-devel] mmap support on gstalsasink

Marco Ballesio gibrovacco at gmail.com
Wed Dec 8 22:38:31 CET 2010


Hi,

On Tue, Dec 7, 2010 at 1:34 AM, Hector Barajas <abarajase at gmail.com> wrote:
> Hi everyone,
> Im trying to run and audio device with mmap support, I already did that with
> pulseaudio but it adds overheads and therefore I still need to reuse the cpu
> consumption.
>
> By looking at the cvs repository it does look like mmap was an option in
> gstreamer several years ago, and it disappeared in version 1.40 of
> gstalsasink.c. Does anyone know why this support was removed ? And how
> difficult it would be to add it again ?
>

interesting question, imo worth a discussion. Digging in
gst-plugins-base, mmap support for ALSA has been removed with commit:

851547e3212a49fd60e86cd8707e06ecbaed22ee

With the rationale "Implement alsasink with simple open/write/close API".

As, on one hand, I can understand the improved simplicity of the
element, I think on the other that we've lost a premium feature
especially for embedded devices where, for one reason or another, we
want to reduce the memory footprint and/or latencies to the bare bone
but we want to still use GStreamer.

Does anybody agree with me? Is this the case to file a bug/enhancement
request or do we have a replacement element hidden somewhere (I didn't
find any)?

Regards

> Thanks for your feedback.
>
> Regards,
> Hector Barajas
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list