Changeset 4266 for pjproject/trunk


Ignore:
Timestamp:
Sep 26, 2012 5:55:18 AM (12 years ago)
Author:
nanang
Message:

Misc (re #1559): Consistent use of SAMPLES_PER_FRAME in G711.

File:
1 edited

Legend:

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

    r3664 r4266  
    332332#if !PLC_DISABLED 
    333333        /* Create PLC, always with 10ms ptime */ 
    334         status = pjmedia_plc_create(g711_factory.pool, 8000, 80, 
     334        status = pjmedia_plc_create(g711_factory.pool, 8000, 
     335                                    SAMPLES_PER_FRAME, 
    335336                                    0, &codec_priv->plc); 
    336337        if (status != PJ_SUCCESS) { 
     
    342343        /* Create VAD */ 
    343344        status = pjmedia_silence_det_create(g711_factory.pool, 
    344                                             8000, 80, 
     345                                            8000, SAMPLES_PER_FRAME, 
    345346                                            &codec_priv->vad); 
    346347        if (status != PJ_SUCCESS) { 
Note: See TracChangeset for help on using the changeset viewer.