mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
improve v2 compat mode
Always send the server types when we got the first client types and don't rely on the message sequence number. Add some more types in the typemap.
This commit is contained in:
parent
b2dfa83052
commit
7a395bccaf
3 changed files with 11 additions and 6 deletions
|
|
@ -100,6 +100,7 @@ typedef uint32_t (*pw_permission_func_t) (struct pw_global *global,
|
|||
struct protocol_compat_v2 {
|
||||
/* v2 typemap */
|
||||
struct pw_map types;
|
||||
unsigned int send_types:1;
|
||||
};
|
||||
|
||||
#define pw_impl_core_emit(s,m,v,...) spa_hook_list_call(&s->listener_list, struct pw_impl_core_events, m, v, ##__VA_ARGS__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue