mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
format: Add API to query a property's type
Since a given property can be single-valued, an array or (in the case of ints) a range, clients need an API to figure out what type of value a property holds. This adds such an API. The actual property type enumeration is kept in the PA_PROP_* namespace and not the PA_FORMAT_INFO* namespace so that it can later be reused for properties generically if required.
This commit is contained in:
parent
8f850403c0
commit
8baf8e90c2
4 changed files with 104 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ pa_format_info_free;
|
|||
pa_format_info_free2;
|
||||
pa_format_info_from_string;
|
||||
pa_format_info_from_sample_spec;
|
||||
pa_format_info_get_prop_type;
|
||||
pa_format_info_get_prop_int;
|
||||
pa_format_info_get_prop_int_range;
|
||||
pa_format_info_get_prop_int_array;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue