Ignore:
Timestamp:
May 11, 2010 6:33:55 AM (15 years ago)
Author:
nanang
Message:

Re #1068:

  • Fixed max frames-per-packet constants in AMR codec (IPP and passthrough) to be based on PJMEDIA_MAX_FRAME_DURATION_MS setting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/passthrough.c

    r3100 r3165  
    235235                              struct pjmedia_frame *output) 
    236236{ 
    237     enum {MAX_FRAMES_PER_PACKET = 8}; 
     237    enum {MAX_FRAMES_PER_PACKET = PJMEDIA_MAX_FRAME_DURATION_MS / 20}; 
    238238 
    239239    pjmedia_frame frames[MAX_FRAMES_PER_PACKET]; 
Note: See TracChangeset for help on using the changeset viewer.