summaryrefslogtreecommitdiff
path: root/pjsip-apps
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-11-30 01:35:00 +0000
committerBenny Prijono <bennylp@teluu.com>2006-11-30 01:35:00 +0000
commit634423cd1e3f12d6cc70c8e6564d40e986eb0312 (patch)
tree02911836861d548916367a6e1b572bc005383d32 /pjsip-apps
parenta35cd16ec8ea8289b0c8a975ee858d39461a9cd9 (diff)
Implement task #26: integrate table based Alaw/Ulaw/linear conversion into pjmedia (thanks Toni Rutar for the original contribution)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@838 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r--pjsip-apps/src/samples/level.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip-apps/src/samples/level.c b/pjsip-apps/src/samples/level.c
index 27b4dda3..d597dc85 100644
--- a/pjsip-apps/src/samples/level.c
+++ b/pjsip-apps/src/samples/level.c
@@ -135,7 +135,7 @@ int main(int argc, char *argv[])
pjmedia_port_get_frame(file_port, &frm);
level32 = pjmedia_calc_avg_signal( framebuf, NSAMPLES );
- level = linear2ulaw(level32) ^ 0xFF;
+ level = pjmedia_linear2ulaw(level32) ^ 0xFF;
printf("%d ", level);
}