mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Add logger
Add logger interface Make it possible to pass extra interfaces to the element at init time, such as a logger.
This commit is contained in:
parent
e90c53e48d
commit
49dae17dfb
26 changed files with 251 additions and 47 deletions
|
|
@ -101,7 +101,7 @@ inspect_factory (const SpaHandleFactory *factory)
|
|||
printf (" none\n");
|
||||
|
||||
handle = calloc (1, factory->size);
|
||||
if ((res = spa_handle_factory_init (factory, handle, NULL)) < 0) {
|
||||
if ((res = spa_handle_factory_init (factory, handle, NULL, NULL, 0)) < 0) {
|
||||
printf ("can't make factory instance: %d\n", res);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue