Ignore:
Timestamp:
Mar 16, 2006 7:03:07 PM (18 years ago)
Author:
bennylp
Message:

Support for stereo audio (or N audio channels, for that matter)

File:
1 edited

Legend:

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

    r318 r322  
    3333PJ_DEF(pj_status_t) pjmedia_null_port_create( pj_pool_t *pool, 
    3434                                              unsigned sampling_rate, 
     35                                              unsigned channel_count, 
    3536                                              unsigned samples_per_frame, 
    3637                                              unsigned bits_per_sample, 
     
    5354    port->info.sample_rate = sampling_rate; 
    5455    port->info.samples_per_frame = samples_per_frame; 
     56    port->info.channel_count = channel_count; 
    5557    port->info.signature = 0x2411; 
    5658    port->info.type = PJMEDIA_TYPE_AUDIO; 
Note: See TracChangeset for help on using the changeset viewer.