diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-02-17 19:38:21 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-02-17 19:38:21 +0000 |
commit | da364d1ce213841443678e726a113cafb1b8cfc5 (patch) | |
tree | 209de9bba0d4494a0c39405cc074cf587fb4d715 /pjsip-apps/src/samples | |
parent | d9597e52ebe25eb18f782c4d1ba16fd44a8679f3 (diff) |
Updated documentation and sample for media conference with regard to maximum value for audio level adjustment
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@961 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/samples')
-rw-r--r-- | pjsip-apps/src/samples/confsample.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pjsip-apps/src/samples/confsample.c b/pjsip-apps/src/samples/confsample.c index 2a943a2c..f3b5ad8a 100644 --- a/pjsip-apps/src/samples/confsample.c +++ b/pjsip-apps/src/samples/confsample.c @@ -354,11 +354,11 @@ int main(int argc, char *argv[]) continue; } - if (!input("Enter level (-128 to +127, 0 for normal)", + if (!input("Enter level (-128 to >127, 0 for normal)", tmp2, sizeof(tmp2)) ) continue; level = strtol(tmp2, &err, 10); - if (*err || level < -128 || level > 127) { + if (*err || level < -128) { puts("Invalid level"); continue; } @@ -380,11 +380,11 @@ int main(int argc, char *argv[]) continue; } - if (!input("Enter level (-128 to +127, 0 for normal)", + if (!input("Enter level (-128 to >127, 0 for normal)", tmp2, sizeof(tmp2)) ) continue; level = strtol(tmp2, &err, 10); - if (*err || level < -128 || level > 127) { + if (*err || level < -128) { puts("Invalid level"); continue; } |