mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
spa: export log topic enumerations
This commit is contained in:
parent
fc4dbcd033
commit
eaea03c26c
40 changed files with 74 additions and 43 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#undef SPA_LOG_TOPIC_DEFAULT
|
||||
#define SPA_LOG_TOPIC_DEFAULT &log_topic
|
||||
static struct spa_log_topic log_topic = SPA_LOG_TOPIC(0, "spa.audiomixer");
|
||||
SPA_LOG_TOPIC_DEFINE_STATIC(log_topic, "spa.audiomixer");
|
||||
|
||||
#define DEFAULT_RATE 48000
|
||||
#define DEFAULT_CHANNELS 2
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#undef SPA_LOG_TOPIC_DEFAULT
|
||||
#define SPA_LOG_TOPIC_DEFAULT &log_topic
|
||||
static struct spa_log_topic log_topic = SPA_LOG_TOPIC(0, "spa.mixer-dsp");
|
||||
SPA_LOG_TOPIC_DEFINE_STATIC(log_topic, "spa.mixer-dsp");
|
||||
|
||||
#define MAX_BUFFERS 64
|
||||
#define MAX_PORTS 512
|
||||
|
|
|
|||
|
|
@ -5,10 +5,13 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <spa/support/plugin.h>
|
||||
#include <spa/support/log.h>
|
||||
|
||||
extern const struct spa_handle_factory spa_audiomixer_factory;
|
||||
extern const struct spa_handle_factory spa_mixer_dsp_factory;
|
||||
|
||||
SPA_LOG_TOPIC_ENUM_DEFINE_REGISTERED;
|
||||
|
||||
SPA_EXPORT
|
||||
int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue