summaryrefslogtreecommitdiff
path: root/PROTOCOL
AgeCommit message (Collapse)AuthorFilesLines
2016-11-19protocol-native: Don't signal memfd support for 9.0 clientsAhmed S. Darwish1-0/+12
Although such 9.0 clients support memfd transport, they have an iochannel bug that would break memfd audio if they're run in 32 bit mode over a 64-bit kernel. Influence them to use the POSIX shared memory model instead. Also bump the protocol version to exclusively mark such v9.0 libraries. Check commit 451d1d676237c81 for further details. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=97769 Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
2016-04-27core: Support memfd transport; bump protocol versionAhmed S. Darwish1-0/+37
Now that all layers in the stack support memfd blocks, add memfd support for the daemon's global core mempool. Also introduce "enable-memfd=" daemon argument and configuration option. For now, memfd support is an opt-in feature to be activated only when daemon's enable-memfd= is set to yes. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
2014-06-27Protocol, client: Add commands to enable srbchannelDavid Henningsson1-0/+20
This increments protocol version to v30 and adds two new commands to enable and disable an shm ringbuffer, as well as client side implementation. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-03-06doc: Fix a couple of 'to to' typosPeter Meerwald1-1/+1
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
2013-07-15introspect: Expose card profile available flagLuiz Augusto von Dentz1-0/+9
Available flag can be used by clients to disable the selection of profiles unavailable. Update protocol to 29
2013-03-13Bump the native protocol versionAkihiro Tsukada1-0/+9
The previous AAC pass-through patch (commit: 53807e4a) introduced a new encoding format type: PA_ENCODING_MPEG2_AAC_IEC61937, which is mostly used in pa_format_info, but forgot to increment the protocol version number. The version needs to be incremented, because clients need some way of checking whether the server supports the new encoding.
2012-06-30introspect: Add functions to handle the latency offset.poljar (Damir Jelic)1-0/+11
This includes updating the native protocol and the client API. A new command was added to allow setting the latency offset. Also the card list command now shows the latency offset if there are ports available. Update protocol to 27.
2012-06-29Fix a copy-paste error in PROTOCOL.Tanu Kaskinen1-2/+2
2012-03-11introspect: Expose port info per card to clientsDavid Henningsson1-0/+23
For volume control UIs to be able to show ports in inactive profiles, expose all ports together with the card info. This includes updating the protocol and the client API to show the connection between ports and for which profiles the ports are relevant. Update protocol to 26. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-02-20PROTOCOL: Fix documentation for version 22David Henningsson1-1/+7
Fix the documentation: the protocol file was not reflecting the code properly for version 22. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2011-11-26Notify port available status changes, and update protocol versionDavid Henningsson1-0/+5
The recommended way of setting available status is to call pa_device_port_set_available, which will send a subscription event to the relevant card. It will also fire a hook. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2011-11-26Introduce "available" concept for ports, and communicate that to clients. ↵David Henningsson1-0/+10
Bump protocol version to 24. Note: There is still no notification when status availability changes. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2011-08-15Remind people not to break module-tunnelArun Raghavan1-0/+6
2011-08-04Document PA_COMMAND_UNDERFLOW protocol changeDavid Henningsson1-0/+6
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2011-06-22introspect: Get format of source outputColin Guthrie1-1/+2
This gets the negotiated format of source outputs in pa_context_get_source_output*(). Also prints the format and volume in 'pactl list'.
2011-06-22capture: Implement per-stream volume control for capture streams.Colin Guthrie1-0/+8
This piggy backs onto the previous changes for protocol 22 and thus does not bump the version. This and the previous commits should be seen as mostly atomic. Apologies for any bisecting issues this causes (although I would expect these to be minimal)
2011-06-22introspect: Get formats for sourcesColin Guthrie1-0/+8
This gets the list of supported formats for a source in pa_context_get_source_info*(). Also prints these in 'pactl list'.
2011-06-22capture: Add the passthrough format negotiation to capture streams.Colin Guthrie1-0/+13
This helps to keep the API more symmetrical and also potentially allows support for passthrough monitor sources at some point in the future.
2011-05-02introspect: Get format of sink inputArun Raghavan1-0/+5
This gets the negotiated format of sink inputs in pa_context_get_sink_input*(). Also prints the format in 'pactl list'.
2011-05-02introspect: Get formats for sinksArun Raghavan1-0/+8
This gets the list of supported formats for a sink in pa_context_get_sink_info*(). Also prints these in 'pactl list'.
2011-05-02core: Add extended stream API to support compressed formatsArun Raghavan1-0/+15
This is the beginning of work to support compressed formats natively in PulseAudio. This adds a pa_stream_new_extended() that takes a format structure, sends it to the server (=> protocol extension) and has the server negotiate with the appropropriate sink to figure out what format it should use. This is work in progress, and works only with PCM streams. Actual compressed format support in some sink needs to be implemented, and extensive testing is required. More details on how this is supposed to work is available at: http://pulseaudio.org/wiki/PassthroughSupport
2011-03-29sink-input: Add volume_writable to pa_sink_input.Tanu Kaskinen1-1/+1
This is pretty cosmetic change; there's no actual functionality added. Previously the volume_writable information was available through the pa_sink_input_is_volume_writable() function, but I find it cleaner to have a real variable. The sink input introspection variable name was also changed from read_only_volume to volume_writable for consistency.
2011-02-22Allow read-only or non-existing sink input volume.Tanu Kaskinen1-1/+7
There are two known cases where read-only or non-existing sink input volume is relevant: passthrough streams and the planned volume sharing logic. Passthrough streams don't have volume at all, and the volume sharing logic requires read-only sink input volume. This commit is primarily working towards the volume sharing feature, but support for non-existing sink input volume is also added, because it is so closely related to read-only volume. Some unrelated refactoring in iface-stream.c creeped into this commit too (new function: stream_to_string()).
2010-10-06introspect: Include whether a stream is corked in the info callback.Colin Guthrie1-0/+7
2010-08-12AC3 passthrough supportPierre-Louis Bossart1-0/+6
Second version after Tanu's feedback TODO: - notify client that volume control is disabled - change sink rate in passthrough mode if needed - automatic detection of passthrough mode instead of hard coded profile names Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
2009-10-29libpulse: introduce PA_STREAM_RELATIVE_VOLUMELennart Poettering1-0/+6
2009-06-17libpulse: implement client side for sink/source port selection commandsLennart Poettering1-0/+7
2009-03-30notify clients about tlength changesLennart Poettering1-0/+13
2009-01-19allow setting properties for modules, tooLennart Poettering1-2/+6
2009-01-16fix version info in protocol historyLennart Poettering1-1/+1
2008-10-26Implement new flags DONT_INHIBIT_AUTO_SUSPEND and START_UNMUTEDLennart Poettering1-0/+11
2008-09-03Implement "early requests" mode.Lennart Poettering1-2/+11
PA_STREAM_EARLY_REQUESTS is a new flag that will modify buffering metric selection behaviour a bit. This code is good for broken ALSA/OSS clients that ignore 'readability' on the fds in question and schedule audio via usleep() instead.
2008-08-18allow clients to not specify the volume for their streamsLennart Poettering1-0/+4
2008-08-03add extension system for native protocolLennart Poettering1-1/+7
2008-05-15also update PROTOCOLLennart Poettering1-0/+10
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2446 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-15merge glitch-free branch back into trunkLennart Poettering1-0/+46
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-11-21add short version history of the PA protocolLennart Poettering1-0/+80
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2065 fefdeb5f-60dc-0310-8127-8f9354f1896f