mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Cleanups
Make events and command specific to the node Remove some unused code Improve state changes Use easier fixate by just taking the element default value Fix reuse buffer in the proxy
This commit is contained in:
parent
ac3cd24d5c
commit
8ada6736c0
29 changed files with 686 additions and 708 deletions
|
|
@ -36,13 +36,18 @@ spa_format_to_string (const SpaFormat *format, char **result)
|
|||
SpaResult
|
||||
spa_format_fixate (SpaFormat *format)
|
||||
{
|
||||
#if 0
|
||||
unsigned int i, j;
|
||||
SpaProps *props;
|
||||
uint32_t mask;
|
||||
#endif
|
||||
|
||||
if (format == NULL)
|
||||
return SPA_RESULT_INVALID_ARGUMENTS;
|
||||
|
||||
format->props.unset_mask = 0;
|
||||
|
||||
#if 0
|
||||
props = &format->props;
|
||||
mask = props->unset_mask;
|
||||
|
||||
|
|
@ -75,5 +80,6 @@ spa_format_fixate (SpaFormat *format)
|
|||
}
|
||||
mask >>= 1;
|
||||
}
|
||||
#endif
|
||||
return SPA_RESULT_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue