mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
format: Expose pa_format_info convenience getters in API
We move over helper functions to get rate, channels, channel map and sample format (if PCM) in the public API, so users of the extended API are more easily able to pull out these values from pa_format_info.
This commit is contained in:
parent
1f45082c68
commit
6d7a266e0e
5 changed files with 113 additions and 109 deletions
|
|
@ -177,12 +177,16 @@ pa_format_info_copy;
|
|||
pa_format_info_free;
|
||||
pa_format_info_from_string;
|
||||
pa_format_info_from_sample_spec;
|
||||
pa_format_info_get_channel_map;
|
||||
pa_format_info_get_channels;
|
||||
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;
|
||||
pa_format_info_get_prop_string;
|
||||
pa_format_info_get_prop_string_array;
|
||||
pa_format_info_get_rate;
|
||||
pa_format_info_get_sample_format;
|
||||
pa_format_info_free_string_array;
|
||||
pa_format_info_is_compatible;
|
||||
pa_format_info_is_pcm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue