Ignore:
Timestamp:
Oct 27, 2008 9:05:56 AM (16 years ago)
Author:
nanang
Message:

Minor fix on Symbian sound latency info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/symbian_sound.cpp

    r2007 r2357  
    851851    pi->samples_per_frame = strm->samples_per_frame; 
    852852    pi->bits_per_sample = BYTES_PER_SAMPLE * 8; 
    853     pi->rec_latency = 0; 
    854     pi->play_latency = 0; 
     853    // Symbian uses 4096 bytes buffer (~2048 samples/256 ms) for PCM rec & play. 
     854    // The latencies below are rounded up to be a multiplication of 80. 
     855    pi->rec_latency  = 2080; 
     856    pi->play_latency = 2080; 
    855857 
    856858    return PJ_SUCCESS; 
Note: See TracChangeset for help on using the changeset viewer.