Ignore:
Timestamp:
Jun 18, 2006 2:02:36 AM (18 years ago)
Author:
bennylp
Message:

Updated doxygen documentation to all headers in PJMEDIA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/resampleplay.c

    r412 r518  
    128128 
    129129    /* Create the resample port. */ 
    130     status = pjmedia_resample_port_create( pool, 1, 1, 
    131                                            file_port->info.clock_rate, 
    132                                            sampling_rate, 
    133                                            channel_count, 
    134                                            (unsigned)( 
    135                                            samples_per_frame * 1.0 * 
    136                                             file_port->info.clock_rate /  
    137                                             sampling_rate), 
     130    status = pjmedia_resample_port_create( pool, file_port, 
     131                                           sampling_rate, 0, 
    138132                                           &resample_port); 
    139133    if (status != PJ_SUCCESS) { 
    140134        app_perror(THIS_FILE, "Unable to create resample port", status); 
    141         return 1; 
    142     } 
    143  
    144     /* Connect resample port to file port */ 
    145     status = pjmedia_port_connect( pool, resample_port, file_port); 
    146     if (status != PJ_SUCCESS) { 
    147         app_perror(THIS_FILE, "Error connecting ports", status); 
    148135        return 1; 
    149136    } 
Note: See TracChangeset for help on using the changeset viewer.