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/mix.c

    r2408 r3392  
    182182        len = pjmedia_wav_player_get_len(wav_input[i].port); 
    183183        len = (pj_ssize_t)(len * 1.0 * clock_rate /  
    184                             wav_input[i].port->info.clock_rate); 
     184                           PJMEDIA_PIA_SRATE(&wav_input[i].port->info)); 
    185185        if (len > (pj_ssize_t)longest) 
    186186            longest = len; 
     
    200200 
    201201        frame.buf = framebuf; 
    202         frame.size = cp->info.samples_per_frame * 2; 
     202        frame.size = PJMEDIA_PIA_SPF(&cp->info) * 2; 
    203203        pj_assert(frame.size <= sizeof(framebuf)); 
    204204         
Note: See TracChangeset for help on using the changeset viewer.