Ignore:
Timestamp:
Sep 20, 2006 8:02:18 PM (18 years ago)
Author:
bennylp
Message:

Automatically suspend AEC when nothing is connected to the sound port in the bridge, and resume as soon as frames are transmitted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/wav_player.c

    r727 r731  
    7171 
    7272 
    73 static pj_status_t file_put_frame(pjmedia_port *this_port,  
    74                                   const pjmedia_frame *frame); 
    7573static pj_status_t file_get_frame(pjmedia_port *this_port,  
    7674                                  pjmedia_frame *frame); 
     
    9290                           8000, 1, 16, 80); 
    9391 
    94     port->base.put_frame = &file_put_frame; 
    9592    port->base.get_frame = &file_get_frame; 
    9693    port->base.on_destroy = &file_on_destroy; 
     
    470467 
    471468/* 
    472  * Put frame to file. 
    473  */ 
    474 static pj_status_t file_put_frame(pjmedia_port *this_port,  
    475                                   const pjmedia_frame *frame) 
    476 { 
    477     PJ_UNUSED_ARG(this_port); 
    478     PJ_UNUSED_ARG(frame); 
    479     return PJ_EINVALIDOP; 
    480 } 
    481  
    482 /* 
    483469 * Get frame from file. 
    484470 */ 
Note: See TracChangeset for help on using the changeset viewer.