Ignore:
Timestamp:
Dec 30, 2010 4:31:16 PM (13 years ago)
Author:
ming
Message:

Re #1184: Adding pjmedia_clock_src for the purpose of audio and video synchronization and also to provide synchronization mechanism between two medias in general.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/sound_port.h

    r2506 r3402  
    2626 */ 
    2727#include <pjmedia-audiodev/audiodev.h> 
     28#include <pjmedia/clock.h> 
    2829#include <pjmedia/port.h> 
    2930 
     
    243244 
    244245/** 
     246 * Get a clock source from the sound port. 
     247 * 
     248 * @param snd_port  The sound port. 
     249 * @param dir       Sound port's direction. 
     250 * 
     251 * @return          The clock source. 
     252 */ 
     253PJ_DECL(pjmedia_clock_src *) 
     254pjmedia_snd_port_get_clock_src( pjmedia_snd_port *snd_port, 
     255                                pjmedia_dir dir ); 
     256 
     257 
     258/** 
    245259 * Connect a port to the sound device port. If the sound device port has a 
    246260 * sound recorder device, then this will start periodic function call to 
Note: See TracChangeset for help on using the changeset viewer.