Ignore:
Timestamp:
Feb 27, 2013 10:16:08 AM (11 years ago)
Author:
ming
Message:

Re #1559: Backported to 1.x, except r4312,r4330

Location:
pjproject/branches/1.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x

  • pjproject/branches/1.x/pjmedia/src/pjmedia/g711.c

    r3553 r4387  
    331331#if !PLC_DISABLED 
    332332        /* Create PLC, always with 10ms ptime */ 
    333         status = pjmedia_plc_create(g711_factory.pool, 8000, 80, 
     333        status = pjmedia_plc_create(g711_factory.pool, 8000, 
     334                                    SAMPLES_PER_FRAME, 
    334335                                    0, &codec_priv->plc); 
    335336        if (status != PJ_SUCCESS) { 
     
    341342        /* Create VAD */ 
    342343        status = pjmedia_silence_det_create(g711_factory.pool, 
    343                                             8000, 80, 
     344                                            8000, SAMPLES_PER_FRAME, 
    344345                                            &codec_priv->vad); 
    345346        if (status != PJ_SUCCESS) { 
Note: See TracChangeset for help on using the changeset viewer.