Ignore:
Timestamp:
Mar 13, 2012 2:01:58 AM (12 years ago)
Author:
bennylp
Message:

Misc: fixed bug with assigning channel count in get_conf_port_info() in the Python module. Thanks Thomas Steinacher for the report. (re #1417)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip-apps/src/python/_pjsua.c

    r3553 r3973  
    23482348          conf_port_info_new(&PyTyp_pjsua_conf_port_info, NULL, NULL); 
    23492349    ret->bits_per_sample = info.bits_per_sample; 
    2350     ret->channel_count = info.bits_per_sample; 
     2350    ret->channel_count = info.channel_count; 
    23512351    ret->clock_rate = info.clock_rate; 
    23522352    ret->name = PyString_FromPJ(&info.name); 
Note: See TracChangeset for help on using the changeset viewer.