diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2009-04-15 14:45:41 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2009-04-15 14:45:41 +0000 |
commit | b20356ecb30f87a4b7aca162dac946c9710e23f3 (patch) | |
tree | ee64bc0c440a820e1475ddce5de0e099f0dc6847 /third_party/g7221/encode/sam2coef.c | |
parent | fb257e0aaa5b9b078b57c252acdf69c1ba793513 (diff) |
Ticket #774:
- Added build config for GNU autoconf & make.
- Fixed some G.722.1 codes for linux & mingw32 targets, e.g: types
defs, collision function name 'round'.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2601 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/g7221/encode/sam2coef.c')
-rw-r--r-- | third_party/g7221/encode/sam2coef.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/g7221/encode/sam2coef.c b/third_party/g7221/encode/sam2coef.c index 08ee0e11..57c8fce8 100644 --- a/third_party/g7221/encode/sam2coef.c +++ b/third_party/g7221/encode/sam2coef.c @@ -120,7 +120,7 @@ Word16 samples_to_rmlt_coefs(Word16 *new_samples,Word16 *old_samples,Word16 *coe acca = L_mac(acca,*--win_low, *--sam_low); acca = L_mac(acca,*win_high++, *sam_high++); - temp = round(acca); + temp = itu_round(acca); *dst_ptr++ = temp; move16(); @@ -145,7 +145,7 @@ Word16 samples_to_rmlt_coefs(Word16 *new_samples,Word16 *old_samples,Word16 *coe neg_win_low = negate(*win_low++); samp_high = *--sam_high; acca = L_mac(acca, neg_win_low, samp_high); - temp = round(acca); + temp = itu_round(acca); *dst_ptr++=temp; move16(); |