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:
paulc 2007-05-05 15:57:08 +00:00
parent 94132dc141
commit 9a71223e56
1 changed files with 1 additions and 0 deletions

View File

@ -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