summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-audiodev/audiodev.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-06-03 12:29:35 +0000
committerBenny Prijono <bennylp@teluu.com>2009-06-03 12:29:35 +0000
commit29b4bf964f79df6749ddfca114085df520589b3d (patch)
treeb293efefeb96123e6622eac3ab755d0c94e7bb03 /pjmedia/src/pjmedia-audiodev/audiodev.c
parente624bbc74a4fe5f21f1f7175297056357cac8971 (diff)
Ticket #853: ./configure with --disable-sound argument does not work
- when --disable-sound is specified, no sound factory will be created - modified audiodev.c to not return error when there's no device found - compilation error in pa_dev.c when it's disabled and include path is not set git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2740 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/pjmedia-audiodev/audiodev.c')
-rw-r--r--pjmedia/src/pjmedia-audiodev/audiodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjmedia/src/pjmedia-audiodev/audiodev.c b/pjmedia/src/pjmedia-audiodev/audiodev.c
index 21c4b3d2..fde54488 100644
--- a/pjmedia/src/pjmedia-audiodev/audiodev.c
+++ b/pjmedia/src/pjmedia-audiodev/audiodev.c
@@ -344,7 +344,7 @@ static void deinit_driver(unsigned drv_idx)
PJ_DEF(pj_status_t) pjmedia_aud_subsys_init(pj_pool_factory *pf)
{
unsigned i;
- pj_status_t status = PJ_ENOMEM;
+ pj_status_t status = PJ_SUCCESS;
/* Allow init() to be called multiple times as long as there is matching
* number of shutdown().