mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
spa: implement a log topic for alsa
This commit is contained in:
parent
a6e66d9180
commit
e9d869b46f
12 changed files with 67 additions and 5 deletions
|
|
@ -33,7 +33,6 @@
|
|||
#include <libudev.h>
|
||||
#include <alsa/asoundlib.h>
|
||||
|
||||
#include <spa/support/log.h>
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/utils/keys.h>
|
||||
#include <spa/utils/names.h>
|
||||
|
|
@ -44,6 +43,8 @@
|
|||
#include <spa/monitor/device.h>
|
||||
#include <spa/monitor/utils.h>
|
||||
|
||||
#include "alsa.h"
|
||||
|
||||
#define NAME "alsa-udev"
|
||||
|
||||
#define MAX_DEVICES 64
|
||||
|
|
@ -759,6 +760,7 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
this->notify.fd = -1;
|
||||
|
||||
this->log = spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Log);
|
||||
alsa_log_topic_init(this->log);
|
||||
this->main_loop = spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Loop);
|
||||
|
||||
if (this->main_loop == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue