diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-12 02:41:29 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-12 02:41:29 +0000 |
commit | 382d0f9e61523fab3feaebea8bf9eb036e098e05 (patch) | |
tree | a93a1eedf2204702bbaa13575dbaeb3d0c3b02e4 /codecs | |
parent | 7907ef81a688a61d2f713bfb30834544ca73aa8b (diff) |
show correct codec in verbose messages (bug #4008)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5452 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rwxr-xr-x | codecs/codec_adpcm.c | 2 | ||||
-rwxr-xr-x | codecs/codec_alaw.c | 2 | ||||
-rwxr-xr-x | codecs/codec_g726.c | 2 | ||||
-rwxr-xr-x | codecs/codec_gsm.c | 7 | ||||
-rwxr-xr-x | codecs/codec_lpc10.c | 2 | ||||
-rwxr-xr-x | codecs/codec_ulaw.c | 2 |
6 files changed, 6 insertions, 11 deletions
diff --git a/codecs/codec_adpcm.c b/codecs/codec_adpcm.c index 7ec1571da..027c64926 100755 --- a/codecs/codec_adpcm.c +++ b/codecs/codec_adpcm.c @@ -569,7 +569,7 @@ parse_config(void) if (!strcasecmp(var->name, "genericplc")) { useplc = ast_true(var->value) ? 1 : 0; if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "CODEC ULAW: %susing generic PLC\n", useplc ? "" : "not "); + ast_verbose(VERBOSE_PREFIX_3 "codec_adpcm: %susing generic PLC\n", useplc ? "" : "not "); } var = var->next; } diff --git a/codecs/codec_alaw.c b/codecs/codec_alaw.c index 6705dff21..1563db3cc 100755 --- a/codecs/codec_alaw.c +++ b/codecs/codec_alaw.c @@ -359,7 +359,7 @@ parse_config(void) if (!strcasecmp(var->name, "genericplc")) { useplc = ast_true(var->value) ? 1 : 0; if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "CODEC ULAW: %susing generic PLC\n", useplc ? "" : "not "); + ast_verbose(VERBOSE_PREFIX_3 "codec_alaw: %susing generic PLC\n", useplc ? "" : "not "); } var = var->next; } diff --git a/codecs/codec_g726.c b/codecs/codec_g726.c index 80d978c80..f05ba7694 100755 --- a/codecs/codec_g726.c +++ b/codecs/codec_g726.c @@ -1005,7 +1005,7 @@ parse_config(void) if (!strcasecmp(var->name, "genericplc")) { useplc = ast_true(var->value) ? 1 : 0; if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "CODEC ULAW: %susing generic PLC\n", useplc ? "" : "not "); + ast_verbose(VERBOSE_PREFIX_3 "codec_g726: %susing generic PLC\n", useplc ? "" : "not "); } var = var->next; } diff --git a/codecs/codec_gsm.c b/codecs/codec_gsm.c index 30dc2d498..bc476a853 100755 --- a/codecs/codec_gsm.c +++ b/codecs/codec_gsm.c @@ -14,11 +14,6 @@ * the GNU General Public License */ -#define TYPE_SILENCE 0x2 -#define TYPE_HIGH 0x0 -#define TYPE_LOW 0x1 -#define TYPE_MASK 0x3 - #include <asterisk/lock.h> #include <asterisk/translate.h> #include <asterisk/config.h> @@ -282,7 +277,7 @@ static void parse_config(void) if (!strcasecmp(var->name, "genericplc")) { useplc = ast_true(var->value) ? 1 : 0; if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "CODEC ULAW: %susing generic PLC\n", useplc ? "" : "not "); + ast_verbose(VERBOSE_PREFIX_3 "codec_gsm: %susing generic PLC\n", useplc ? "" : "not "); } var = var->next; } diff --git a/codecs/codec_lpc10.c b/codecs/codec_lpc10.c index 904f0266a..80821d09e 100755 --- a/codecs/codec_lpc10.c +++ b/codecs/codec_lpc10.c @@ -357,7 +357,7 @@ static void parse_config(void) if (!strcasecmp(var->name, "genericplc")) { useplc = ast_true(var->value) ? 1 : 0; if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "CODEC ULAW: %susing generic PLC\n", useplc ? "" : "not "); + ast_verbose(VERBOSE_PREFIX_3 "codec_lpc10: %susing generic PLC\n", useplc ? "" : "not "); } var = var->next; } diff --git a/codecs/codec_ulaw.c b/codecs/codec_ulaw.c index 4f2b24c7d..9dd0e4790 100755 --- a/codecs/codec_ulaw.c +++ b/codecs/codec_ulaw.c @@ -358,7 +358,7 @@ parse_config(void) if (!strcasecmp(var->name, "genericplc")) { useplc = ast_true(var->value) ? 1 : 0; if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "CODEC ULAW: %susing generic PLC\n", useplc ? "" : "not "); + ast_verbose(VERBOSE_PREFIX_3 "codec_ulaw: %susing generic PLC\n", useplc ? "" : "not "); } var = var->next; } |