summaryrefslogtreecommitdiff
path: root/pjsip
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-02-09 15:47:12 +0000
committerBenny Prijono <bennylp@teluu.com>2006-02-09 15:47:12 +0000
commitf01338bfbcb8122fb6fd47eaa26afbff23595ec9 (patch)
treef06d6990968fef2bc898ba812d148f1e1995032f /pjsip
parent7cf4a041e150c925077e1184117a8d37b71bba51 (diff)
Fixed Linux OSS sound
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@173 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r--pjsip/build/Makefile2
-rw-r--r--pjsip/src/pjsua/pjsua_core.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/pjsip/build/Makefile b/pjsip/build/Makefile
index 976ef8f8..cf82a3b3 100644
--- a/pjsip/build/Makefile
+++ b/pjsip/build/Makefile
@@ -24,7 +24,7 @@ export _LDFLAGS := $(subst /,$(HOST_PSEP),$(PJSIP_UA_LIB)) \
$(subst /,$(HOST_PSEP),$(PJLIB_UTIL_LIB)) \
$(subst /,$(HOST_PSEP),$(PJLIB_LIB)) \
$(CC_LDFLAGS) $(OS_LDFLAGS) $(M_LDFLAGS) $(HOST_LDFLAGS) \
- $(LDFLAGS)
+ $(LDFLAGS) -lm
###############################################################################
diff --git a/pjsip/src/pjsua/pjsua_core.c b/pjsip/src/pjsua/pjsua_core.c
index 3bdf94ee..fc110409 100644
--- a/pjsip/src/pjsua/pjsua_core.c
+++ b/pjsip/src/pjsua/pjsua_core.c
@@ -665,6 +665,9 @@ pj_status_t pjsua_destroy(void)
pjsua.quit_flag = 1;
+ /* Destroy sound framework: */
+ pj_snd_deinit();
+
/* Wait worker threads to quit: */
for (i=0; i<pjsua.thread_cnt; ++i) {