Ignore:
Timestamp:
Dec 10, 2010 11:04:30 AM (13 years ago)
Author:
bennylp
Message:

Migration of current video works from private repository to this repository. This closed #1176

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjsip-apps/src/samples/resampleplay.c

    r2408 r3392  
    130130 
    131131    /* File must have same number of channels. */ 
    132     if (file_port->info.channel_count != (unsigned)channel_count) { 
     132    if (PJMEDIA_PIA_CCNT(&file_port->info) != (unsigned)channel_count) { 
    133133        PJ_LOG(3,(THIS_FILE, "Error: file has different number of channels. " 
    134134                             "Perhaps you'd need -c option?")); 
     
    187187 
    188188    printf("Playing %s at sampling rate %d (original file sampling rate=%d)\n", 
    189            argv[pj_optind], sampling_rate, file_port->info.clock_rate); 
     189           argv[pj_optind], sampling_rate, 
     190           PJMEDIA_PIA_SRATE(&file_port->info)); 
    190191    puts(""); 
    191192    puts("Press <ENTER> to stop playing and quit"); 
Note: See TracChangeset for help on using the changeset viewer.