Ignore:
Timestamp:
Jun 27, 2008 4:18:13 PM (16 years ago)
Author:
nanang
Message:

Ticket #543:

  • Fixed bug of calculating clock interval which should include channel count
  • Added L16 codecs including stereo
  • Added WAV files for stereo tests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/clock.h

    r2039 r2075  
    122122 * @param pool              Pool to allocate memory. 
    123123 * @param clock_rate        Number of samples per second. 
     124 * @param channel_count     Number of channel. 
    124125 * @param samples_per_frame Number of samples per frame. This argument 
    125  *                          along with clock_rate, specifies the interval 
    126  *                          of each clock run (or clock ticks). 
     126 *                          along with clock_rate and channel_count, specifies  
     127 *                          the interval of each clock run (or clock ticks). 
    127128 * @param options           Bitmask of pjmedia_clock_options. 
    128129 * @param cb                Callback to be called for each clock tick. 
     
    135136PJ_DECL(pj_status_t) pjmedia_clock_create( pj_pool_t *pool, 
    136137                                           unsigned clock_rate, 
     138                                           unsigned channel_count, 
    137139                                           unsigned samples_per_frame, 
    138140                                           unsigned options, 
Note: See TracChangeset for help on using the changeset viewer.