audio sink plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fri, Jun 19, 2009 at 1:42 PM, Stefan Kost 
wrote:
>
> Ian schrieb:
> > Just starting to get into gstreamer so apologies if this is covered in
> > some FAQ. Point me at it and I'll read up offline.
> >
> > I'm about to start developing an audio sink plugin to some hardware.
> > The examples i've found to date appear to be push-based sink plugins.
> >
> > The driver to the hardware I'm interfacing to gets supplied with data via
> > a callback, which would seem to be best supported by a pull-based audio
> > sink plugin.
> >
> > So should I have a couple of frames of buffering and go for a push-based
> > plugin, or attempt a pull-based one (presumably with a queue just before
> > the sink?).
>
> You can use the GstRingbuffer for that. Lock at the jack puling in
> gst-plugin-bad (jack is pull based).
>
> Stefan

Thanks for the pointer Stefan.

Can you use a GstRingBuffer with compressed audio data (hardware decoder) so I don't have to perform s/w decode unless it's necessary? Any further examples?

Thanks again.

Ian


      




[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux