mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
format: Export pa_format_info_is_compatible in API
This allows clients to perform checks between formats as well.
This commit is contained in:
parent
53091cc5f0
commit
13a33abf45
4 changed files with 11 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ char *pa_format_info_snprint(char *s, size_t l, const pa_format_info *f) {
|
|||
return s;
|
||||
}
|
||||
|
||||
pa_bool_t pa_format_info_is_compatible(pa_format_info *first, pa_format_info *second) {
|
||||
int pa_format_info_is_compatible(pa_format_info *first, pa_format_info *second) {
|
||||
const char *key;
|
||||
void *state = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue