Fixed another stereo->mono conversion bug.
git-svn-id: http://voip.null.ro/svn/yate@1296 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
94132dc141
commit
9a71223e56
|
@ -273,6 +273,7 @@ public:
|
|||
}
|
||||
}
|
||||
else if ((m_sChans == 2) && (m_dChans == 1)) {
|
||||
n /= 2;
|
||||
oblock.assign(0,2*n);
|
||||
short* d = (short*) oblock.data();
|
||||
// average the channels
|
||||
|
|
Loading…
Reference in New Issue