mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-01-11 11:08:42 -05:00
Make interface types a string
This is more in line with wayland and it allows us to create new interfaces in modules without having to add anything to the type enum. It also removes some lookups to map type_id to readable name in debug.
This commit is contained in:
parent
9657486a81
commit
f391353c7f
123 changed files with 791 additions and 1251 deletions
|
|
@ -46,10 +46,13 @@ enum spa_log_level {
|
|||
/**
|
||||
* The Log interface
|
||||
*/
|
||||
#define SPA_TYPE_INTERFACE_Log SPA_TYPE_INFO_INTERFACE_BASE "Log"
|
||||
|
||||
#define SPA_VERSION_LOG 0
|
||||
|
||||
struct spa_log {
|
||||
/** the version of this log. This can be used to expand this
|
||||
* structure in the future */
|
||||
#define SPA_VERSION_LOG 0
|
||||
struct spa_interface iface;
|
||||
/**
|
||||
* Logging level, everything above this level is not logged
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue