summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/python/_pjsua.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/python/_pjsua.c')
-rw-r--r--pjsip-apps/src/python/_pjsua.c2
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;