blob: 240edee684800929e77812e1ef9d4eb36781620a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/**
* @file aufilt.c Audio Filter
*
* Copyright (C) 2010 Creytiv.com
*/
#include <re.h>
#include <baresip.h>
#include "core.h"
void aufilt_register(struct list *aufiltl, struct aufilt *af)
{
if (!aufiltl || !af)
return;
list_append(aufiltl, &af->le, af);
info("aufilt: %s\n", af->name);
}
void aufilt_unregister(struct aufilt *af)
{
if (!af)
return;
list_unlink(&af->le);
}
|