mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
format: make formats as uri
This commit is contained in:
parent
6f0a12462b
commit
ff62c1b9ce
11 changed files with 476 additions and 222 deletions
|
|
@ -31,6 +31,7 @@ compare_value (SpaPODType type, const void *r1, const void *r2)
|
|||
case SPA_POD_TYPE_INVALID:
|
||||
return 0;
|
||||
case SPA_POD_TYPE_BOOL:
|
||||
case SPA_POD_TYPE_URI:
|
||||
return *(int32_t*)r1 == *(uint32_t*)r2;
|
||||
case SPA_POD_TYPE_INT:
|
||||
return *(int32_t*)r1 - *(int32_t*)r2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue