mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 11:50:53 +00:00
gsm library port to msvc, fix some warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@168 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
644656c84c
commit
20ff10947b
10 files changed
+299
-51
No files matched your search
@@ -25,7 +25,7 @@ static void Postprocessing P2((S,s),
|
||||
register word tmp;
|
||||
|
||||
for (k = 160; k--; s++) {
|
||||
tmp = GSM_MULT_R( msr, 28180 );
|
||||
tmp = (word)GSM_MULT_R( msr, 28180 );
|
||||
msr = GSM_ADD(*s, tmp); /* Deemphasis */
|
||||
*s = GSM_ADD(msr, msr) & 0xFFF8; /* Truncation & Upscaling */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user