From 4f43acb07de88433ce513079233040e3e7c2b9d6 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sat, 4 Mar 2017 15:28:51 +0100 Subject: aucodec: move list of aucodec to struct baresip (#221) --- include/baresip.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/baresip.h b/include/baresip.h index 9502497..7f3ea3e 100644 --- a/include/baresip.h +++ b/include/baresip.h @@ -817,11 +817,11 @@ struct aucodec { sdp_fmtp_cmp_h *fmtp_cmph; }; -void aucodec_register(struct aucodec *ac); +void aucodec_register(struct list *aucodecl, struct aucodec *ac); void aucodec_unregister(struct aucodec *ac); -const struct aucodec *aucodec_find(const char *name, uint32_t srate, +const struct aucodec *aucodec_find(const struct list *aucodecl, + const char *name, uint32_t srate, uint8_t ch); -struct list *aucodec_list(void); /* @@ -1122,6 +1122,7 @@ struct player *baresip_player(void); struct message *baresip_message(void); struct list *baresip_mnatl(void); struct list *baresip_mencl(void); +struct list *baresip_aucodecl(void); #ifdef __cplusplus -- cgit v1.2.3