Question about pulseaudio sources and sinks

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

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux