[pulseaudio-discuss] Question about pulseaudio sources and sinks

Arun Raghavan arun.raghavan at collabora.co.uk
Fri Oct 11 11:06:56 CEST 2013


On Fri, 2013-10-11 at 10:36 +0200, Damir Jelić wrote:
> On Fri, Oct 11, 2013 at 12:42:53PM +0800, Jonathan Wilson wrote:
> > I have a pulseaudio module which calls pa_source_new to create an
> > audio source and pa_sink_new to create an audio sink. I have another
> > piece of code that makes calls to PulseAudio to feed audio into the
> > sink and get audio from the source.
> > Can anyone point me at:
> > 1.Documentation for the source and sink APIs
> 
> The sinks and sources are not part of the public API. The only API
> documentation that I'm aware of is directly inside sink.h [1] and sorce.h [2].

Adding to that, take a look at how some of the simpler sinks/sources
(pipe, oss, etc.) are implemented, to understand the basics of what you
need to implement to get a functional sink or source.

-- Arun



More information about the pulseaudio-discuss mailing list