diff options
author | Benny Prijono <bennylp@teluu.com> | 2012-03-13 02:01:58 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2012-03-13 02:01:58 +0000 |
commit | f6129416b4b3ad74a21d0fbc04f38da61aeac766 (patch) | |
tree | 354d8661fcf2e09475bc50a22eff7d2b9d78535d /pjsip-apps | |
parent | 6133e14032adbe22286e4704fc7517e4a42ef928 (diff) |
Misc: fixed bug with assigning channel count in get_conf_port_info() in the Python module. Thanks Thomas Steinacher for the report. (re #1417)
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3973 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/python/_pjsua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip-apps/src/python/_pjsua.c b/pjsip-apps/src/python/_pjsua.c index 9267434c..bb5d91f1 100644 --- a/pjsip-apps/src/python/_pjsua.c +++ b/pjsip-apps/src/python/_pjsua.c @@ -2347,7 +2347,7 @@ static PyObject *py_pjsua_conf_get_port_info(PyObject *pSelf, PyObject *pArgs) ret = (PyObj_pjsua_conf_port_info *) conf_port_info_new(&PyTyp_pjsua_conf_port_info, NULL, NULL); ret->bits_per_sample = info.bits_per_sample; - ret->channel_count = info.bits_per_sample; + ret->channel_count = info.channel_count; ret->clock_rate = info.clock_rate; ret->name = PyString_FromPJ(&info.name); ret->samples_per_frame = info.samples_per_frame; |