Ignore:
Timestamp:
Feb 27, 2009 5:37:35 PM (15 years ago)
Author:
nanang
Message:

Added one new pjsua-lib API to get audio device stream instance, also added its usage sample for audio routing in symbian_ua.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjsip/src/pjsua-lib/pjsua_media.c

    r2469 r2480  
    26522652 
    26532653 
     2654/* 
     2655 * Get active sound port instance. 
     2656 */ 
     2657PJ_DEF(pjmedia_aud_stream*) pjsua_get_aud_stream() 
     2658{ 
     2659    pjmedia_aud_stream *aud_stream = NULL; 
     2660 
     2661    if (pjsua_var.snd_port) 
     2662        aud_stream = pjmedia_snd_port_get_snd_stream(pjsua_var.snd_port); 
     2663 
     2664    return aud_stream; 
     2665} 
     2666 
     2667 
    26542668/***************************************************************************** 
    26552669 * Codecs. 
Note: See TracChangeset for help on using the changeset viewer.