Changeset 3730


Ignore:
Timestamp:
Aug 29, 2011 2:38:01 AM (13 years ago)
Author:
bennylp
Message:

Fixed compilation error on conf_switch.c if PJMEDIA_CONF_USE_SWITCH_BOARD is enabled (re #1320, thanks Bo Shi for the report)

File:
1 edited

Legend:

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

    r3664 r3730  
    168168    conf_port->port = port; 
    169169    conf_port->info = &port->info; 
    170     conf_port->samples_per_frame= PJMEDIA_PINFO_SAMPLES_PER_FRAME(&port->info); 
     170    conf_port->samples_per_frame = PJMEDIA_PIA_SPF(&port->info); 
    171171 
    172172    /* Init pjmedia_frame structure in the TX buffer. */ 
     
    12281228        ++ci; 
    12291229 
    1230         master_samples_per_frame = PJMEDIA_PINFO_SAMPLES_PER_FRAME( 
    1231                                         &conf->master_port->info); 
     1230        master_samples_per_frame = PJMEDIA_PIA_SPF(&conf->master_port->info); 
    12321231 
    12331232        /* Update clock of the port. */ 
Note: See TracChangeset for help on using the changeset viewer.