Commit graph

66 commits

Author SHA1 Message Date
Lyndon Brown
25b55284db proplist: pa_proplist_to_string[_sep]: constify proplist pointer 2018-06-21 06:30:25 +05:30
Lyndon Brown
58c3f9b671 proplist: pa_proplist_gets: constify proplist pointer 2018-06-21 06:30:25 +05:30
Lyndon Brown
cc063264e6 proplist: pa_proplist_get: constify proplist pointer 2018-06-21 06:30:25 +05:30
Lyndon Brown
5d101fd2e2 proplist: pa_proplist_iterate: constify proplist pointer 2018-06-21 06:30:25 +05:30
jnqnfe
b683350856 api documentation improvements
includes typo fixes, neatening, addition of more return info, and such.
2017-11-30 00:43:57 +02:00
Ondrej Holecek
5effc83479 update FSF addresses to FSF web page
FSF addresses used in PA sources are no longer valid and rpmlint
generates numerous warnings during packaging because of this.
This patch changes all FSF addresses to FSF web page according to
the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html

Done automatically by sed-ing through sources.
2015-01-14 22:20:40 +02:00
Alexander E. Patrakov
305409cfcf Fix a few "it's -> its" typos 2014-03-07 18:04:02 +02:00
Peter Meerwald
2cc23f2c4e doc: Mostly fixing up i.e. versus i.e.\ in doxygen documentation
same for e.g. versus e.g.\ and e.g. versus E.g.

this is ueber-nitpicking: will anybody ever notice?

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
2013-04-17 08:08:42 +02:00
Tanu Kaskinen
e17f18d89a proplist: Change proplist_name_valid() to be public function pa_proplist_key_valid().
I want to check the validity in pa_tagstruct_get_proplist(),
and I think also client applications might have use for this
function.
2012-06-29 12:58:44 +03:00
Lennart Poettering
3173358f76 proplist: document new meaning of the session ID 2012-05-15 14:06:46 +02:00
Peter Meerwald
a3513e7c9d pulse: Clarify proplist doxygen documentation. 2012-04-17 18:15:29 +03:00
Tanu Kaskinen
6f9e651e4e proplist: Constify the pa_proplist_copy and _update input pointers. 2012-03-09 09:09:59 +02:00
Peter Meerwald
b351e06817 fix the ever-popular 'the the' typo
some are comments, some are user-visible doxygen text and documentation
2012-01-28 17:51:59 +02:00
Peter Meerwald
d6512750fd proplist: Consistently use parameter name p for a pa_proplist* in prototype 2011-12-12 23:57:54 +00:00
Peter Meerwald
8049bd0b19 proplist: Fix typos in doxygen documentation 2011-12-12 23:57:54 +00:00
Peter Meerwald
8eb0516058 proplist: Add doxygen file description for proplist.h 2011-12-12 23:57:54 +00:00
Arun Raghavan
667289679f doc: Correct intended roles property documentation
The documentation says we expect a comma-separate list of intended
roles, but the code splits the string on whitespaces, so this corrects
the documentation to match the implementation.
2011-10-28 14:44:53 +02:00
Maarten Bosmans
231645d4fc Spelling fixes in public headers 2011-08-25 11:27:35 +01:00
Arun Raghavan
2e075bb837 proplist: Make filter properties line up prettily 2011-08-15 15:20:20 +05:30
Arun Raghavan
3767c9c4e8 format: Add some properties and internal API
The properties will be used by clients to set the sample format,
sampling rate, etc. The functions will be used internally.
2011-05-02 10:17:20 +05:30
Arun Raghavan
ceca42f706 filters: Handle stream moves properly
This makes sure that we handle streams moving between sinks properly. To
do this, we change the way the filter.* properties are handled a little
bit.

Firstly, this splits up the "filter.apply" property into two properties
- "filter.want" and "filter.apply". "filter.apply" acts as before - it
bypasses module-filter-heuristics and directly tells module-filter-apply
what filters are to be applied.

"filter.want" is used to tell module-filter-heuristics what filters the
client wants. The module then decides whether to actually apply the
filter or not (for now, this makes sure we don't apply echo-cancellation
even if requested on phone sinks (where it is assumed AEC is taken care
of or is not required).

Next, we also make sure that we track whether the client set
"filter.apply" or module-filter-heuristics did - and in the latter case,
we recalculate "filter.apply" and then have module-filter-apply apply
the filter if required. This introduces some evil in the form of causing
the move_finish callback to possibly trigger another move, but we
protect for this case (with a property) to be doubly sure of not causing
an infinite loop.
2011-04-23 18:23:38 +01:00
Colin Guthrie
e727068956 filter: Move the proplist defines into the central place and document them. 2011-04-20 09:25:31 +01:00
Lennart Poettering
7098d60b30 proplist: explicitly mention a role 'test' 2010-02-21 17:48:42 +01:00
Mads Kiilerich
6faf38313e headers: Some trivial fixes for some documentation typos
Note also the willneed/will_need inconsistency. I guess it could be nice to ASAP
choose one of them and introduce a backward compatibility hack for the other.

The issues was mostly found with:
for a in $(grep -r '^[ /]\*.*()' $(
	find -name '*.[ch]') |
	sed 's,^.* \([^ ]*\)().*$,\1,g' |
	sort |
	uniq |
	grep ^pa_)
do
	grep -rq "^.[^*].*\<$a(" $(find * -name '*.h') || echo $a
done
2010-01-05 21:27:33 +01:00
Tanu Kaskinen
019331d25b Merge branch 'master' into dbus-work
Conflicts:
	src/daemon/daemon-conf.c
2009-10-02 17:24:44 +03:00
Lennart Poettering
94f28b9d4b proplist: introduce PA_PROP_WINDOW_DESKTOP property 2009-09-17 02:22:41 +02:00
Lennart Poettering
5919337433 proplist: define properties for storing window position 2009-09-11 02:16:17 +02:00
Lennart Poettering
42b795b408 doxygen: don't confuse doxygen with spurious .. 2009-09-11 01:49:55 +02:00
Tanu Kaskinen
187c4f32cf proplist: A couple of documentation fixes. 2009-08-24 14:23:49 +03:00
Tanu Kaskinen
1457df40ee proplist: New function: pa_proplist_equal() 2009-08-09 07:59:06 +03:00
Lennart Poettering
f13bbd576f prop: introduce new PA_PROP_DEVICE_INTENDED_ROLES property 2009-06-08 16:58:45 +02:00
Lennart Poettering
8f23a2edb5 proplist: add two new generic properties, media.copyright and media.software 2009-05-25 23:52:31 +02:00
Lennart Poettering
261a4830fb sample: introduce pa_proplist_setp() 2009-05-25 23:50:18 +02:00
Maarten Bosmans
8bcb9c6910 various spelling fixes 2009-04-04 02:27:13 +02:00
Lennart Poettering
ba4765a0dc For now don't list icon property (in favour of icon name property) since icon negotiation is probably much more complex (i.e. sizes...) than just putting icon data somewhere. 2009-03-01 21:38:27 +01:00
Lennart Poettering
671b927955 add logic for initializing a useful icon name 2009-03-01 21:38:27 +01:00
Lennart Poettering
cc8d51ad62 rename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS 2009-03-01 20:32:32 +01:00
Lennart Poettering
cce56ab343 revise form factor list a bit, simplify and use singular everywhere 2009-03-01 20:30:37 +01:00
Lennart Poettering
e00833399f introduce seperate vendor/product id fields 2009-03-01 20:28:58 +01:00
Lennart Poettering
0d8f67b826 revise list of form factors a little 2009-02-27 00:32:32 +01:00
Lennart Poettering
9eb50701b6 introduce new well-known role 'a11y' 2009-02-24 01:44:46 +01:00
Lennart Poettering
27bfa607b9 add new property PA_PROP_APPLICATION_PROCESS_SESSION_ID and initialize it by default 2009-02-21 16:26:09 +01:00
Lennart Poettering
d447a8dbbb document all currently known properties 2009-02-13 23:01:24 +01:00
Lennart Poettering
60c50bbf10 declare 'animation' stream role for Flash and suchlike 2009-02-12 03:20:38 +01:00
Lennart Poettering
6bb2c49057 add #defines for all enums that lacked it 2009-02-06 02:01:17 +01:00
Lennart Poettering
b445741ddf fix up parser in pa_proplist_from_string() to handle escapes correctly; make pa_proplist_to_string() escape quotes properly 2009-02-04 17:14:59 +01:00
Lennart Poettering
e0d6b75119 add a few new form factors 2009-02-02 00:22:02 +01:00
Lennart Poettering
2c97c15c55 introduce PA_PROP_APPLICATION_PROCESS_MACHINE_ID 2009-02-02 00:21:41 +01:00
Lennart Poettering
df8ad5d18f add a few missing doxygen comments 2009-01-27 02:37:13 +01:00
Lennart Poettering
6058530571 import version.h in all header files to make sure that version-based feature testing works 2009-01-27 02:36:42 +01:00