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:
Wim Taymans 2016-10-05 17:43:11 +02:00
parent e90c53e48d
commit 49dae17dfb
26 changed files with 251 additions and 47 deletions

View file

@ -379,7 +379,9 @@ alsa_monitor_clear (SpaHandle *handle)
static SpaResult
alsa_monitor_init (const SpaHandleFactory *factory,
SpaHandle *handle,
const SpaDict *info)
const SpaDict *info,
const SpaInterface **platform,
unsigned int n_platform)
{
SpaALSAMonitor *this;

View file

@ -598,7 +598,9 @@ alsa_sink_clear (SpaHandle *handle)
static SpaResult
alsa_sink_init (const SpaHandleFactory *factory,
SpaHandle *handle,
const SpaDict *info)
const SpaDict *info,
const SpaInterface **platform,
unsigned int n_platform)
{
SpaALSASink *this;

View file

@ -751,7 +751,9 @@ alsa_source_clear (SpaHandle *handle)
static SpaResult
alsa_source_init (const SpaHandleFactory *factory,
SpaHandle *handle,
const SpaDict *info)
const SpaDict *info,
const SpaInterface **platform,
unsigned int n_platform)
{
SpaALSASource *this;
unsigned int i;