[pulseaudio-discuss] Question about pulseaudio sources and sinks

João Paulo Rechi Vita jprvita at gmail.com
Tue Oct 29 22:04:14 CET 2013


On Fri, Oct 11, 2013 at 6:06 AM, Arun Raghavan
<arun.raghavan at collabora.co.uk> wrote:
> 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.
>

And if have not seen this yet, it may give you some insights of how
things work (although it may be partially outdated):
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/IO/

-- 
João Paulo Rechi Vita
http://about.me/jprvita


More information about the pulseaudio-discuss mailing list